-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
66 lines (54 loc) · 1.43 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "esp32temp"
version = "1.7.3"
authors = ["Sami J. Mäkinen <[email protected]>"]
edition = "2021"
[features]
default = ["esp32c3"]
reset_settings = []
esp32s = []
esp32c3 = []
[dependencies]
panic-halt = "0"
anyhow = "1"
askama = "0"
axum = { version = "0", features = ["http1", "json"] }
axum-macros = "0"
chrono = "0"
crc = "3"
critical-section = { version = "1.1", features = ["std"] }
embedded-hal = "1"
embedded-svc = { version = "0", features = ["experimental"] }
esp-idf-sys = { version = "0", features = ["binstart"] }
esp-idf-svc = { version = "0", features = ["alloc", "experimental"] }
esp-idf-hal = "0"
futures = "0"
heapless = "0"
log = "0"
mio = { version = "0", features = ["log"] }
postcard = { version = "1", features = ["alloc", "use-crc"] }
serde = "1"
serde_json = "1"
tokio = { version = "1", features = ["rt", "net", "io-util"] }
tower-http = { version = "0" }
# these had to be fixed, negative temperatures were broken
# also, migrated to embedded-hal 1.0
ds18b20 = { git = "https://github.com/sjm42/ds18b20" }
one-wire-bus = { git = "https://github.com/sjm42/one-wire-bus" }
# tower-http = { version = "0", features = ["trace"] }
# tracing = "0"
# tracing-subscriber = { version = "0", features = ["env-filter"] }
[build-dependencies]
build-data = "0"
embuild = "0"
anyhow = "1"
[profile.release]
debug = true
opt-level = "z"
codegen-units = 1
lto = "fat"
strip = false
[profile.dev]
debug = true
opt-level = 2
lto = "off"