-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
74 lines (62 loc) · 1.96 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
[package]
name = "embassy_wifi"
version = "0.0.0"
description = "embassy_wifi"
readme = "README.md"
keywords = ["esp-hal", "esp32"]
license = "MIT"
edition = "2021"
rust-version = "1.81"
[features]
default = [
"esp32c6",
"jtag",
"log",
"embassy",
"wifi",
]
log = [
"dep:log",
"esp-hal/log",
"esp-println/log",
"esp-backtrace/println",
"embassy-executor?/log",
"esp-wifi?/log",
]
defmt = [
"dep:defmt",
"esp-hal/defmt",
"esp-println/defmt-espflash",
"esp-backtrace/defmt",
"embassy-executor?/defmt",
"esp-wifi?/defmt",
"embassy-net?/defmt"
]
jtag = ["esp-println/jtag-serial"]
uart = ["esp-println/uart"]
esp32c3 = ["esp-hal/esp32c3", "esp-println/esp32c3", "esp-backtrace/esp32c3", "esp-wifi?/esp32c3", "esp-hal-embassy?/esp32c3"]
esp32c6 = ["esp-hal/esp32c6", "esp-println/esp32c6", "esp-backtrace/esp32c6", "esp-wifi?/esp32c6", "esp-hal-embassy?/esp32c6"]
embassy = [
"esp-hal-embassy",
"embassy-executor",
"embassy-time",
"embassy-executor/task-arena-size-20480"
]
wifi = [
"esp-wifi",
"embassy-net",
]
[dependencies]
esp-hal = { version = "0.22.0" }
esp-println = { version = "0.12.0", default-features = false, features = ["critical-section", "colors"] }
esp-backtrace = { version = "0.14.2", features = ["panic-handler", "exception-handler"] }
defmt = { version = "0.3", optional = true }
log = { version = "0.4", optional = true }
esp-hal-embassy = { version = "0.5", features = ["integrated-timers"], optional = true }
embassy-executor = { version = "0.6", package = "embassy-executor", features = ["arch-riscv32"], optional = true }
embassy-time = { version = "0.3", optional = true }
esp-wifi = { version = "0.11.0", default-features = false, features = [
"esp-alloc", "wifi", "smoltcp", "utils"], optional = true }
embassy-net = { version = "0.4.0", features = ["tcp", "udp", "dhcpv4", "medium-ethernet"], optional = true }
static_cell = "2.1.0"
esp-alloc = { version = "0.5" }