-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
83 lines (75 loc) · 2.59 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
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
[package]
name = "wot-esp-hal-demo"
version = "0.1.0"
authors = [ "Luca Barbato <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
[dependencies]
esp-backtrace = { version = "0.14.1", features = [
"esp32c3",
"exception-handler",
"panic-handler",
"println",
]}
esp-hal = { version = "0.22.0", features = ["esp32c3"] }
esp-println = { version = "0.12.0", features = ["esp32c3", "log"] }
log = { version = "0.4.21" }
esp-alloc = { version = "0.5.0" }
embedded-io = "0.6.1"
shtcx = "1.0.0"
embedded-io-async = "0.6.1"
embassy-net = { version = "0.5.0", features = [ "tcp", "udp", "dhcpv4", "medium-ethernet"] }
esp-wifi = { version = "0.11.0", default-features = false, features = ["esp32c3", "utils", "wifi", "esp-alloc", "log"] }
heapless = { version = "0.8.0", default-features = false }
smoltcp_011 = { version = "0.11.0", default-features = false, features = [
"medium-ethernet",
"proto-dhcpv4",
"proto-ipv4",
"socket-dhcpv4",
"socket-icmp",
"socket-raw",
"socket-tcp",
"socket-udp",
], package = "smoltcp" }
smoltcp_012 = { version = "0.12.0", default-features = false, features = [
"medium-ethernet",
"proto-dhcpv4",
"proto-ipv4",
"socket-dhcpv4",
"socket-icmp",
"socket-raw",
"socket-tcp",
"socket-udp",
], package = "smoltcp" }
embassy-executor = { version = "0.6.0", features = ["nightly"] }
embassy-time = { version = "0.3.1", features = ["generic-queue-8"] }
esp-hal-embassy = { version = "0.5.0", features = ["esp32c3"] }
static_cell = { version = "2.1.0", features = ["nightly"] }
picoserve = { version = "0.13.2", features = ["embassy", "alloc"] }
embassy-sync = "0.6.0"
wot-td = { version = "0.6.2", default-features = false, features = ["alloc"] }
serde_json = { version = "1.0.133", default-features = false, features = ["alloc"] }
uuid = { version = "1.11.0", default-features = false }
const-random = "0.1.15"
smart-leds-trait = { version = "0.3.0", features = ["serde"] }
smart-leds = { version = "0.4.0", features = ["serde"] }
serde = { version = "1.0.215", default-features = false, features = ["alloc"] }
portable-atomic = { version = "1.10.0", default-features = false }
edge-nal = "0.4.0"
edge-nal-embassy = "0.4.0"
edge-mdns = "0.4.0"
[features]
default = ["uuid-id"]
uuid-id = []
[profile.dev]
# Rust debug is too slow.
# For debug builds always builds with some optimization
opt-level = "s"
[profile.release]
codegen-units = 1 # LLVM can perform better optimizations using a single thread
debug = 2
debug-assertions = false
incremental = false
lto = 'fat'
opt-level = 's'
overflow-checks = false