-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
67 lines (61 loc) · 1.9 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
[package]
name = "wakesp"
version = "0.2.0"
authors = ["etiennecollin <collin.etienne.contact@gmail.com>"]
repository = "https://github.com/etiennecollin/wakesp"
edition = "2021"
license = "MIT"
[features]
default = [
"esp32c3",
"log",
]
esp32c3 = ["esp-hal/esp32c3", "esp-println/esp32c3", "esp-backtrace/esp32c3", "esp-wifi/esp32c3", "esp-hal-embassy/esp32c3"]
log = [
"dep:log",
"embassy-executor/log",
"embassy-futures/log",
"embassy-sync/log",
"esp-backtrace/println",
"esp-hal/log",
"esp-println/log",
"esp-wifi/log",
]
defmt = [
"dep:defmt",
"embassy-executor/defmt",
"embassy-futures/defmt",
"embassy-net/defmt",
"embassy-sync/defmt",
"esp-backtrace/defmt",
"esp-hal/defmt",
"esp-println/defmt-espflash",
"esp-wifi/defmt",
]
jtag = ["esp-println/jtag-serial", "esp-wifi/phy-enable-usb"]
uart = ["esp-println/uart"]
[dependencies]
defmt = { version = "0.3.8", optional = true }
embassy-executor = { version = "0.6.0", features=["nightly"] }
embassy-futures = "0.1.1"
embassy-net = { version = "0.4.0", features = ["tcp", "udp", "dns", "dhcpv4", "dhcpv4-hostname", "medium-ethernet"] }
embassy-sync = "0.6.0"
embassy-time = { version = "0.3.1", features=["generic-queue-8"] }
esp-backtrace = { version = "0.14.1", features = ["panic-handler", "exception-handler"] }
esp-hal = { version = "0.20.1" }
esp-hal-embassy = { version = "0.3.0" }
esp-println = { version = "0.11.0", features = ["critical-section", "colors"] }
esp-wifi = { version = "0.9.1", features = ["wifi", "ipv4", "tcp", "udp", "icmp", "igmp", "dns", "dhcpv4", "embassy-net"] }
heapless = "0.8.0"
log = { version = "0.4.22", optional = true }
[profile.dev]
opt-level = "s"
debug = true
[profile.release]
codegen-units = 1 # LLVM can perform better optimizations using a single thread
debug = false
debug-assertions = false
incremental = false
lto = 'fat'
opt-level = 's'
overflow-checks = false