82 lines
1.7 KiB
TOML
82 lines
1.7 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "xiao-esp32c6"
|
|
version = "0.1.0"
|
|
|
|
[[bin]]
|
|
name = "xiao-esp32c6"
|
|
path = "./src/bin/main.rs"
|
|
|
|
[dependencies]
|
|
bt-hci = { version = "*", features = [] }
|
|
critical-section = "*"
|
|
embassy-executor = { version = "*", features = [
|
|
"log",
|
|
"task-arena-size-20480",
|
|
] }
|
|
embassy-net = { version = "*", features = [
|
|
"dhcpv4",
|
|
"log",
|
|
"medium-ethernet",
|
|
"tcp",
|
|
"udp",
|
|
] }
|
|
embassy-time = { version = "*", features = ["log"] }
|
|
embedded-io = "*"
|
|
embedded-io-async = "*"
|
|
esp-alloc = "*"
|
|
esp-backtrace = { version = "*", features = [
|
|
"esp32c6",
|
|
"exception-handler",
|
|
"panic-handler",
|
|
"println",
|
|
] }
|
|
esp-bootloader-esp-idf = "*"
|
|
esp-hal = { version = "=1.0.0-beta.1", features = [
|
|
"esp32c6",
|
|
"log-04",
|
|
"unstable",
|
|
] }
|
|
esp-hal-embassy = { version = "*", features = ["esp32c6", "log-04"] }
|
|
esp-println = { version = "*", features = ["esp32c6", "log-04"] }
|
|
esp-wifi = { version = "*", features = [
|
|
"ble",
|
|
"builtin-scheduler",
|
|
"coex",
|
|
"esp-alloc",
|
|
"esp32c6",
|
|
"log-04",
|
|
"smoltcp",
|
|
"wifi",
|
|
] }
|
|
log = "*"
|
|
smoltcp = { version = "*", default-features = false, features = [
|
|
"log",
|
|
"medium-ethernet",
|
|
"multicast",
|
|
"proto-dhcpv4",
|
|
"proto-dns",
|
|
"proto-ipv4",
|
|
"socket-dns",
|
|
"socket-icmp",
|
|
"socket-raw",
|
|
"socket-tcp",
|
|
"socket-udp",
|
|
] }
|
|
static_cell = { version = "*", features = ["nightly"] }
|
|
trouble-host = { version = "*", features = ["gatt"] }
|
|
|
|
|
|
[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
|