-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
88 lines (77 loc) · 2.06 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[package]
name = "esp32_home_sensor"
version = "0.1.0"
authors = ["Etienne Tremel <995474+etiennetremel@users.noreply.github.com>"]
edition = "2021"
license = "MIT"
[dependencies]
sds011-nostd-rs = { rev = "010353fc33be4607c45fe8c0df6fce9101e12831", git = "https://github.com/etiennetremel/sds011-nostd-rs.git" }
bme280-rs = "0.3.0"
libscd = { version = "0.3.1", features = ["scd30", "async", "defmt"] }
embassy-executor = { version = "0.6.1", package = "embassy-executor", features = [
"executor-thread",
"task-arena-size-24576",
] }
embassy-net = { version = "0.4.0", features = [
"tcp",
"udp",
"dhcpv4",
"dhcpv4-hostname",
"dns",
"medium-ethernet",
] }
embassy-sync = "0.6.0"
embassy-time = { version = "0.3.2", features = ["generic-queue-8"] }
embedded-io-async = "0.6.1"
embedded-hal-async = "1.0.0"
embassy-embedded-hal = "0.2.0"
esp-alloc = "0.5.0"
esp-backtrace = { version = "0.14.2", features = [
"esp32",
"panic-handler",
"println",
] }
esp-hal = { version = "0.21.1", features = ["esp32"] }
esp-hal-embassy = { version = "0.4.0", features = ["esp32"] }
esp-println = { version = "0.12.0", features = ["esp32", "log"] }
esp-wifi = { version = "0.10.1", default-features = false, features = [
"async",
"dhcpv4",
"dns",
"embassy-net",
"esp32",
"tcp",
"wifi",
"esp-alloc",
] }
heapless = { version = "0.8.0", default-features = false }
log = "0.4.22"
rand_core = "0.6"
rust-mqtt = { version = "0.3.0", default-features = false, features = [] }
static_cell = { version = "2.1.0", features = ["nightly"] }
toml-cfg = "0.2.0"
[profile.dev]
opt-level = "s"
[profile.dev.package.esp-hal]
debug-assertions = false
opt-level = 3
[profile.dev.package.esp-wifi]
opt-level = 3
[profile.dev.package.xtensa-lx-rt]
opt-level = 'z'
[profile.release]
codegen-units = 1 # LLVM can perform better optimizations using a single thread
debug = 2
debug-assertions = false
incremental = false
opt-level = "s"
lto = 'fat'
overflow-checks = false
[features]
# default = ["json", "bme280", "sds011"]
default = []
influx = []
json = []
bme280 = []
scd30 = []
sds011 = []