-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
56 lines (49 loc) · 1.58 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
[package]
name = "ledswarm_firmware"
version = "0.1.0"
authors = ["Moritz Riede <moritz@mriede.com>"]
edition = "2021"
resolver = "2"
rust-version = "1.71"
[profile.release]
opt-level = "s"
[profile.dev]
debug = true # Symbols are nice and they don't increase the size on Flash
opt-level = "z"
[features]
default = ["std", "embassy", "esp-idf-svc/native"]
pio = ["esp-idf-svc/pio"]
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", "esp-idf-svc/critical-section", "esp-idf-svc/embassy-time-driver"]
[dependencies]
ledswarm_protocol = { path = "../ledswarm_protocol" }
log = { version = "0.4", default-features = false }
esp-idf-svc = { version = "0.47.3", default-features = false }
ws2812-esp32-rmt-driver = "0.6.0"
smart-leds = "0.3.0"
adxl343 = "0.8.0"
smart-leds-trait = "0.2.1"
# High-performance alternative to std::sync::mpsc, which tends to be slow on embedded systems.
flume = { version = "0.11.0", default-features = false, features = ["async", "select"] }
accelerometer = "0.12.0"
embedded-svc = "0.26.4"
colorz = "1.1.2"
anyhow = "1.0.79"
esp-idf-hal = "0.42.5"
futures = "0.3.30"
serde = "1.0.195"
serde_derive = "1.0.195"
serde_json = "1.0.111"
colored = "2.1.0"
dw3000-ng = { path = "../dw3000-ng", features = ["std"] }
async-channel = "2.2.0"
uuid = { version = "1.7.0", features = ["v4"] }
nanoid = "0.4.0"
[build-dependencies]
embuild = "0.31.3"
envmnt = "0.10.4"
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9"