-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
68 lines (63 loc) · 2.86 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
[package]
name = "fkm-firmware"
version = "0.1.0"
authors = ["filipton <filipton12@gmail.com>"]
edition = "2021"
[dependencies]
esp-backtrace = { version = "0.14.2", features = [ "exception-handler", "panic-handler", "println" ] }
esp-hal = { version = "0.22.0", features = [ ] }
esp-println = { version = "0.12.0", features = ["log"] }
log = { version = "0.4.22" }
esp-wifi = { version = "0.11.0", features = ["coex"] }
esp-hal-embassy = { version = "0.5.0", features = ["integrated-timers"] }
embassy-executor = { version = "0.6.3", features = ["arch-riscv32", "nightly"] }
embassy-net = { version = "0.5.0", features = ["tcp", "udp", "multicast", "dhcpv4", "medium-ethernet", "proto-ipv4"] }
embassy-time = { version = "0.3.2" }
esp-storage = { version = "0.4.0", features = [] }
embedded-storage = "0.3.1"
static_cell = { version = "2.1.0", features = ["nightly"] }
heapless = { version = "0.8.0", default-features = false }
esp-alloc = "0.5.0"
esp-hal-wifimanager = { git = "https://github.com/filipton/esp-hal-wifimanager", default-features = false, features = ["ap", "ble"] }
serde = { version = "1.0.217", features = ["alloc", "derive"], default-features = false }
serde_json = { version = "1.0.134", default-features = false, features = ["alloc"] }
adv-shift-registers = "0.2.4"
embedded-hal = "1.0.0"
esp-hal-mfrc522 = { version = "0.1.1", features = ["embassy-time"] }
esp-hal-mdns = "0.1.0"
embedded-io-async = "0.6.1"
macros = { path = "./macros" }
nb = "1.1.0"
embassy-futures = "0.1.1"
hd44780-driver = { git = "https://github.com/JohnDoneth/hd44780-driver.git" }
embassy-sync = "0.6.1"
ws-framer = { version = "0.1.0", features = ["alloc"] }
embedded-hal-async = "1.0.0"
portable-atomic = { version = "1.10.0", default-features = false }
critical-section = "1.2.0"
getrandom = { version = "0.2.15", features = ["custom"] }
uuid = { version = "1.11.0", default-features = false, features = ["v4"] }
dyn-smooth = "0.2.0"
esp-hal-ota = { version = "0.2.0", features = [] }
esp32c3 = { version = "0.26.0", optional = true }
esp32 = { version = "0.34.0", optional = true }
[features]
default = ["esp32c3"]
esp32 = ["esp-backtrace/esp32", "esp-hal/esp32", "esp-println/esp32", "esp-wifi/esp32", "esp-hal-embassy/esp32", "esp-storage/esp32", "esp-hal-wifimanager/esp32", "esp-hal-ota/esp32", "dep:esp32"]
esp32c3 = ["esp-backtrace/esp32c3", "esp-hal/esp32c3", "esp-println/esp32c3", "esp-wifi/esp32c3", "esp-hal-embassy/esp32c3", "esp-storage/esp32c3", "esp-hal-wifimanager/esp32c3", "esp-hal-ota/esp32c3", "dep:esp32c3"]
gen_version = []
[profile.dev]
# Rust debug is too slow.
# For debug builds always builds with some optimization
opt-level = 3
[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 = 3
overflow-checks = false
[build-dependencies]
crc32fast = "1.4.2"
dotenvy = "0.15.7"