-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
63 lines (55 loc) · 1.79 KB
/
Cargo.toml
File metadata and controls
63 lines (55 loc) · 1.79 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
[package]
name = "fire-sensor"
version = "0.1.0"
authors = ["Aron Granberg <aron.granberg@gmail.com>"]
edition = "2021"
resolver = "2"
rust-version = "1.81"
[[bin]]
name = "fire-sensor"
harness = false # do not use the built in cargo test harness -> resolve rust-analyzer errors
[profile.release]
opt-level = "s"
# strip = "none"
strip = false # Automatically strip symbols from the binary.
lto = true
# panic = "abort"
debug = true
codegen-units = 1
[profile.dev]
debug = true # Symbols are nice and they dont increase the size on Flash
opt-level = "z"
[features]
default = ["std", "embassy", "esp-idf-svc/native"]
std = ["alloc", "esp-idf-svc/binstart", "esp-idf-svc/std"]
alloc = ["esp-idf-svc/alloc"]
nightly = ["esp-idf-svc/nightly"]
experimental = ["esp-idf-svc/experimental"]
embassy = [
"esp-idf-svc/embassy-sync",
]
[dependencies]
log = { version = "0.4", default-features = false, features = [] }
esp-idf-svc = { version = "0.51", default-features = false }
thiserror = "2.0"
serde = { version = "*", features = ["derive"] }
tokio = { version = "1", features = ["rt", "macros", "time"] }
embassy-futures = "0.1"
brevduva = { git = "https://github.com/HalfVoxel/brevduva", rev = "11e5e83", features = [
"embedded",
] }
#brevduva = { path = "../brevduva", features = [
# "embedded",
#] }
ordered-float = { version = "5.1", features = ["serde"] }
embedded-svc = { version = "0.28", default-features = false, features = ["std", "log"] }
ota_flasher = { git = "https://github.com/HalfVoxel/ota_flasher", rev = "ae67749", features = ["embedded"] }
# ota_flasher = { path = "../ota_flasher", features = ["embedded"] }
chrono = { version = "0.4", features = ["serde"] }
embedded-hal = "1.0.0"
onewire = "0.4.0"
ws2812-spi = "0.5"
smart-leds = "0.4"
[build-dependencies]
embuild = "0.33.1"
chrono = "0.4"