74 lines
2.1 KiB
TOML
74 lines
2.1 KiB
TOML
[package]
|
|
name = "wallas-esp32c3"
|
|
version = "0.1.1"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
esp-backtrace = { version = "0.18.0", features = [
|
|
"esp32c3",
|
|
"panic-handler",
|
|
"println",
|
|
]}
|
|
esp-hal = { version = "1.0.0-rc.1", features = [
|
|
"esp32c3",
|
|
"unstable",
|
|
] }
|
|
esp-println = { version = "0.16.0", features = ["esp32c3", "log-04"] }
|
|
log = { version = "0.4.28" }
|
|
esp-alloc = "0.9.0"
|
|
esp-rtos = { version = "0.1.1", features = ["esp-radio", "embassy", "log-04", "esp32c3"] }
|
|
embedded-io = "0.7.1"
|
|
embedded-io-async = "0.7.0"
|
|
embassy-net = { version = "0.7.1", features = [ "tcp", "udp", "dhcpv4", "dns", "medium-ethernet"] }
|
|
|
|
esp-radio = { version = "0.16.0", default-features=false, features = [
|
|
"esp32c3",
|
|
"wifi",
|
|
"esp-alloc",
|
|
] }
|
|
embassy-sync = "0.7.2"
|
|
rand_core = "0.9.3"
|
|
nom = { version = "8", default-features = false, features = [ "alloc" ] }
|
|
heapless = { version = "0.9.1", default-features = false }
|
|
smoltcp = { version = "0.12.0", default-features = false, features = [
|
|
"medium-ethernet",
|
|
"proto-dhcpv4",
|
|
"proto-ipv4",
|
|
"socket-dhcpv4",
|
|
"socket-icmp",
|
|
"socket-raw",
|
|
"socket-tcp",
|
|
"socket-udp",
|
|
] }
|
|
embassy-executor = "0.9.1"
|
|
embassy-time = { version = "0.5.0", features = ["generic-queue-8"] }
|
|
static_cell = { version = "2.1.1" }
|
|
# critical-section = "1.2.0"
|
|
maud = { git = "https://github.com/jakobdalsgaard/maud.git", features = ["alloc", "picoserve"] }
|
|
picoserve = { version = "0.16.0", default-features = false, features = [
|
|
"alloc",
|
|
"embassy",
|
|
"log",
|
|
] }
|
|
sntpc = { version = "0.6.1", default-features = false, features = [ "embassy-socket" ] }
|
|
chrono = { version = "0.4.42", default-features = false, features = [ "alloc" ] }
|
|
serde = { version = "1.0.228", default-features = false }
|
|
include_file_compress = "0.1.3"
|
|
|
|
[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
|
|
|
|
[profile.dev.package.esp-wifi]
|
|
opt-level = 3
|