-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (65 loc) · 3.06 KB
/
Cargo.toml
File metadata and controls
74 lines (65 loc) · 3.06 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
[workspace]
resolver = "2"
members = ["crates/*"]
[workspace.package]
version = "0.2.1"
authors = ["datenkollektiv"]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/datenkollektiv/rustyfarian-network"
[workspace.dependencies]
# Workspace-internal
rustyfarian-network-pure = { path = "crates/rustyfarian-network-pure" }
lora-pure = { path = "crates/lora-pure" }
wifi-pure = { path = "crates/wifi-pure" }
espnow-pure = { path = "crates/espnow-pure" }
ota-pure = { path = "crates/ota-pure" }
# External dependencies
anyhow = "1.0"
log = "0.4"
nb = "1"
rgb = "0.8"
# ESP-IDF dependencies
embuild = "0.33"
esp-idf-svc = "0.52"
esp-idf-hal = "0.46"
embedded-hal = "1"
embedded-svc = "0.29"
# LoRa / LoRaWAN dependencies
heapless = "0.9"
sha2 = { version = "0.10", default-features = false }
lorawan-device = { version = "0.12", default-features = false, features = ["default-crypto", "region-eu868", "region-us915"] }
lora-modulation = "0.1"
sx126x = "0.3"
# Bare-metal (esp-hal) dependencies — exact pins for the April 2026 release wave
# (coordinated with rustyfarian-ws2812; see docs/features/archive/esp-hal-stack-upgrade-april-2026-v1.md).
# These crates ship as a monorepo wave; mixing minor versions across them produces
# feature-unification conflicts in the Wi-Fi `embassy-net-driver` + `esp-alloc` graph.
esp-hal = { version = "=1.1.0" }
esp-radio = { version = "=0.18.0", default-features = false }
esp-rtos = { version = "=0.3.0", default-features = false }
esp-alloc = { version = "=0.10.0" }
esp-bootloader-esp-idf = { version = "=0.5.0", default-features = false }
esp-storage = { version = "=0.9.0", default-features = false }
embedded-storage = { version = "0.3" }
esp-println = { version = "=0.17.0", default-features = false }
# `smoltcp` was dropped from the workspace dependency table when `esp-radio 0.18`
# removed its `smoltcp` feature in favour of `embassy-net-driver`; no member crate
# declares it directly any more.
# Embassy async ecosystem (opt-in via the `embassy` feature on HAL crates) — exact pins
# aligned with what `esp-rtos 0.3.0` pulls transitively. Mismatched minors produce
# duplicate Signal/Channel types that don't interoperate at task boundaries.
embassy-executor = { version = "=0.10.0", default-features = false }
embassy-net = { version = "=0.8.0", default-features = false }
embassy-time = { version = "=0.5.1", default-features = false }
embassy-sync = { version = "=0.8.0", default-features = false }
static_cell = { version = "2.1" }
embedded-io-async = { version = "0.6" }
# Bare-metal debugging
esp-backtrace = { version = "=0.19.0", default-features = false, features = ["panic-handler", "println"] }
# Cross-repo dependencies — rustyfarian-ws2812 v0.6.0 wave, resolves from crates.io.
# `hal` feature pulls in `SimpleLed` (the `embedded-hal` `OutputPin` adapter for
# simple on/off GPIO LEDs), re-exported by the Wi-Fi and MQTT crates.
pennant = { version = "0.6", features = ["hal"] }
rustyfarian-esp-idf-ws2812 = { version = "0.6" }
rustyfarian-esp-hal-ws2812 = { version = "0.6", default-features = false, features = ["pennant"] }