-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
108 lines (96 loc) · 2.62 KB
/
Cargo.toml
File metadata and controls
108 lines (96 loc) · 2.62 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[package]
edition = "2024"
name = "weather-station-embassy"
rust-version = "1.88"
version = "0.1.0"
[[bin]]
name = "weather-station-embassy"
path = "./src/main.rs"
test = false
doctest = false
bench = false
[lib]
path = "./src/lib.rs"
test = false
doctest = false
bench = false
[dependencies]
esp-hal = { version = "1.0.0", features = [
"esp32",
# "log-04",
"unstable",
] }
esp-rtos = { version = "0.2.0", features = [
"embassy",
"esp-alloc",
"esp-radio",
"esp32",
"log-04",
] }
esp-bootloader-esp-idf = { version = "0.4.0", features = ["esp32"] }
log = { version = "0.4.28", features = ["max_level_trace", "release_max_level_trace"] }
embassy-net = { version = "0.7.0", features = [
"dhcpv4",
# "log",
"medium-ethernet",
"tcp",
"udp",
"mdns",
"dns",
] }
embedded-io = "0.6.0"
embedded-io-async = "0.6.1"
esp-alloc = "0.9.0"
esp-println = { version = "0.16.0", features = ["esp32", "log-04"] }
# for more networking protocol support see https://crates.io/crates/edge-net
embassy-executor = { version = "0.9.0", features = ["log"] }
embassy-time = { version = "0.5.0", features = ["log"] }
esp-radio = { version = "0.17.0", features = [
"esp-alloc",
"esp32",
# "log-04",
"smoltcp",
"unstable",
"wifi",
] }
smoltcp = { version = "0.12.0", default-features = false, features = [
# "log",
"medium-ethernet",
"multicast",
"proto-dhcpv4",
"proto-dns",
"proto-ipv4",
"socket-dns",
"socket-icmp",
"socket-raw",
"socket-tcp",
"socket-udp",
] }
critical-section = "1.2.0"
static_cell = "2.1.1"
embassy-sync = "0.7.2"
esp-backtrace = { version = "0.18.0", features = ["esp32", "println", "panic-handler"]}
heapless = "0.8.0"
dht-sensor = { git = "https://github.com/michaelbeaumont/dht-sensor.git", branch = "main", features = ["async"] }
ina219 = { version = "0.2.0", features = ["async"]}
as5600 = { version = "0.8.0" , features = ["async"]}
toml-cfg = "0.2.0"
rust-mqtt = { git = "https://github.com/obabec/rust-mqtt", branch = "main", default-features = false }
embassy-embedded-hal = "0.5.0"
embassy-futures = "0.1.2"
esp-hal-ota = { version = "0.4.5", features = ["esp32", "log"] }
reqwless = { version = "0.13", default-features = false }
esp-storage = { version = "0.8.1", features = ["esp32"] }
embedded-nal-async = "0.9.0"
[profile.dev]
# Rust debug is too slow.
# For debug builds always builds with some optimization
opt-level = "s"
[profile.release]
codegen-units = 1 # LLVM can perform better optimizations using a single thread
debug = 2
debug-assertions = false
incremental = false
lto = 'fat'
opt-level = 's'
overflow-checks = false