-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
101 lines (91 loc) · 4.33 KB
/
Cargo.toml
File metadata and controls
101 lines (91 loc) · 4.33 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
[package]
name = "fkm-firmware"
version = "0.1.0"
authors = ["filipton <filipton12@gmail.com>"]
edition = "2024"
[dependencies]
esp-backtrace = { version = "0.19.0", features = [ "panic-handler", "println", "custom-pre-backtrace", "custom-halt", "esp32c3" ] }
esp-hal = { version = "1.1.0", features = [ "esp32c3" ] }
esp-println = { version = "0.17.0", features = ["log-04", "esp32c3"] }
log = { version = "0.4.29" }
esp-radio = { version = "0.18.0", features = ["coex", "esp32c3"] }
esp-rtos = { version = "0.3.0", features = ["esp32c3", "embassy", "esp-radio"] }
embassy-executor = { version = "0.10.0", features = ["nightly"] }
embassy-net = { version = "0.9.1", features = ["tcp", "udp", "multicast", "dhcpv4", "medium-ethernet", "proto-ipv4", "dns"] }
embassy-time = { version = "0.5.1" }
esp-storage = { version = "0.9.0", features = ["esp32c3"] }
embedded-storage = "0.3.1"
static_cell = { version = "2.1.1", features = ["nightly"] }
heapless = { version = "0.9.2", default-features = false }
esp-alloc = "0.10.0"
#esp-hal-wifimanager = { version = "0.2.10", default-features = false, features = ["ap", "ble", "esp32c3", "ota", "custom_panel"] }
esp-hal-wifimanager = { git = "https://github.com/filipton/esp-hal-wifimanager.git", default-features = false, features = ["ap", "ble", "esp32c3", "ota", "custom_panel"] }
serde = { version = "1.0.228", features = ["alloc", "derive"], default-features = false }
serde_json = { version = "1.0.149", default-features = false, features = ["alloc"] }
adv-shift-registers = "0.2.5"
embedded-hal = "1.0.0"
esp-hal-mdns = "0.1.4"
embedded-io-async = "0.7.0"
macros = { path = "./macros" }
nb = "1.1.0"
embassy-futures = "0.1.2"
embassy-sync = "0.7.2"
ws-framer = { version = "0.3.1", default-features = false, features = ["alloc", "http", "getrandom02"] }
embedded-hal-async = "1.0.0"
portable-atomic = { version = "1.13.1", default-features = false }
critical-section = "1.2.0"
getrandom = { version = "=0.2.15", features = ["custom"] }
uuid = { version = "=1.12.1", default-features = false, features = ["v4"] }
esp-hal-ota = { version = "0.5.0", features = ["esp32c3"] }
esp32c3 = { version = "0.32.2" }
anyhow = { version = "1.0.102", default-features = false }
embedded-hal-bus = { version = "0.3.0", features = ["async"] }
#embedded-tls = { git = "https://github.com/drogue-iot/embedded-tls.git", default-features = false, features = ["alloc", "embedded-io-adapters", "log"] }
embedded-tls = { git = "https://github.com/filipton/embedded-tls", default-features = false, features = ["alloc", "embedded-io-adapters", "log"] }
rand_core = { version = "0.6.4", features = ["getrandom"] }
esp-hal-mfrc522 = { version = "0.3.3", features = ["embassy-time"] }
esp-bootloader-esp-idf = { version = "0.5.0", features = ["log-04", "esp32c3"] }
trouble-host = { version = "0.6.0", features = ["scan", "security"] }
qrcodegen-no-heap = "1.8.1"
# v4 only
display-interface = { version = "0.5.0", optional = true }
display-interface-i2c = { version = "0.5.0", optional = true }
embedded-graphics = { version = "0.8.2", optional = true }
embedded-graphics-framebuf = { version = "0.5.0", optional = true }
oled_async = { version = "0.2.0", features = ["i2c"], optional = true }
bq27441 = { version = "0.1.0", features = ["async", "embassy"], optional = true }
profont = { version = "0.7.0", optional = true }
embedded-layout = { version = "0.4.2", optional = true }
embedded-text = { version = "0.7.3", optional = true }
#v3 only
dyn-smooth = { version = "0.2.0", optional = true }
ag-lcd-async = { git = "https://github.com/filipton/ag-lcd-async", features = [], optional = true }
[patch.crates-io]
elliptic-curve = { git = "https://github.com/filipton/rust-crypto-traits.git" }
[features]
default = ["sleep", "v4"]
gen_version = []
bat_dev_lcd = []
release_build = ["sleep"]
e2e = []
qa = []
sleep = []
auto_add = []
v3 = ["dep:dyn-smooth", "dep:ag-lcd-async"]
v4 = ["dep:display-interface", "dep:display-interface-i2c", "dep:embedded-graphics", "dep:embedded-graphics-framebuf", "dep:oled_async", "dep:bq27441", "dep:profont", "dep:embedded-layout", "dep:embedded-text"]
[profile.dev]
opt-level = 3
[profile.release]
codegen-units = 1
debug = 2
debug-assertions = false
incremental = false
lto = 'fat'
opt-level = 's'
overflow-checks = false
[profile.dev.package.esp-radio]
opt-level = 3
[profile.release.package.esp-radio]
opt-level = 3
[build-dependencies]
dotenvy = "0.15.7"