-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (44 loc) · 1.59 KB
/
Copy pathCargo.toml
File metadata and controls
57 lines (44 loc) · 1.59 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
[package]
name = "floatware"
version = "0.0.0"
authors = ["Moiré <git@moire.cx>"]
edition = "2021"
resolver = "2"
rust-version = "1.82"
[[bin]]
name = "floatware"
harness = false # do not use the built-in cargo test harness -> resolve rust-analyzer errors
[profile.release]
opt-level = "s"
[profile.dev]
debug = true # Symbols are nice, and they don't increase the size on Flash
opt-level = "z"
[patch.crates-io]
esp-idf-sys = { git = "https://github.com/esp-rs/esp-idf-sys.git" }
esp-idf-hal = { git = "https://github.com/esp-rs/esp-idf-hal.git" }
esp-idf-svc = { git = "https://github.com/esp-rs/esp-idf-svc.git" }
# Packages marked with (:: pkgname) are packages that we need, that are also dependencies of other packages we need
# So we choose to use the version used by the other packages that we need to avoid duplication (unless there is an
# actual need for a different version)
[dependencies]
log = "0.4"
esp-idf-svc = { version = "0.52.1", features = ["critical-section", "embassy-time-driver", "embassy-sync"] }
embedded-svc = "=0.29.0" # (:: esp-idf-svc)
embassy-sync = "=0.7.2" # (:: esp-idf-svc)
anyhow = "=1.0.104" # (:: embuild)
futures = "0.3.33"
serde = "=1.0.229" # (:: esp-idf-svc)
serde_json = "1.0"
rmp-serde = "1.3"
ws2812-esp32-rmt-driver = { version = "0.14", features = ["smart-leds-trait"] }
smart-leds-trait = "0.3"
# IMU
icm42670 = "0.2.0"
# T & H
shtcx = "1.0.0"
cfor = "1.1.0"
heapless = "0.9.3" # (::esp-idf-svc)
time = { version = "0.3.55", features = ["default", "serde"] }
embassy-time = { version = "0.5", features = ["generic-queue-8"] }
[build-dependencies]
embuild = "0.33"