-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
50 lines (40 loc) · 1.57 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
[package]
name = "securedash"
version = "0.1.0"
authors = ["Fang-Pen Lin <[email protected]>"]
edition = "2021"
resolver = "2"
rust-version = "1.77"
[[bin]]
name = "securedash"
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"
[features]
default = []
experimental = ["esp-idf-svc/experimental"]
[dependencies]
log = "0.4"
esp-idf-svc = { version = "0.50", features = ["critical-section", "embassy-time-driver", "embassy-sync", "embedded-storage", "experimental"] }
embedded-svc = "0.28.1"
embassy-sync = "0.6.1"
anyhow = "1.0.95"
futures = "0.3.31"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.134"
time = { version = "0.3.37", features = ["std", "serde-human-readable"] }
rmp-serde = "1.3.0"
toml = "0.8.19"
[[package.metadata.esp-idf-sys.extra_components]]
remote_component = { name = "espressif/esp_tinyusb", version = "9ccb5b19bdbf0bc0b4b7fef2a89848b45da09ed8", git = "https://github.com/LaunchPlatform/esp-usb.git", path = "device/esp_tinyusb" }
[[package.metadata.esp-idf-sys.extra_components]]
remote_component = { name = "espressif/esp_websocket_client", version = "1.3.0" }
[build-dependencies]
embuild = "0.33"
[patch.crates-io]
embuild = { git = "https://github.com/esp-rs/embuild" }
esp-idf-sys = { git = "https://github.com/esp-rs/esp-idf-sys" }
esp-idf-hal = { git = "https://github.com/LaunchPlatform/esp-idf-hal", rev = "ec432eae61fdbeecaaf05a7bd33b8ffa738911ab" }