Initial commit
This commit is contained in:
70
Cargo.toml
Normal file
70
Cargo.toml
Normal file
@@ -0,0 +1,70 @@
|
||||
[package]
|
||||
name = "wallas-esp32c3"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
esp-backtrace = { version = "0.14.2", 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"
|
||||
|
||||
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",
|
||||
] }
|
||||
embassy-sync = "0.6.1"
|
||||
rand_core = "0.6.4"
|
||||
heapless = { version = "0.8.0", default-features = false }
|
||||
smoltcp = { version = "0.11.0", default-features = false, features = [
|
||||
"medium-ethernet",
|
||||
"proto-dhcpv4",
|
||||
"proto-igmp",
|
||||
"proto-ipv4",
|
||||
"socket-dhcpv4",
|
||||
"socket-icmp",
|
||||
"socket-raw",
|
||||
"socket-tcp",
|
||||
"socket-udp",
|
||||
] }
|
||||
embassy-executor = { version = "0.6.0", features = [
|
||||
"task-arena-size-40960"
|
||||
] }
|
||||
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"] }
|
||||
critical-section = "1.2.0"
|
||||
maud = { path = "/home/jda/src/rust/maud/target/package/maud-0.26.0", features = ["alloc"] }
|
||||
picoserve = { version = "0.13.3", default-features = false, features = [
|
||||
"embassy"
|
||||
] }
|
||||
|
||||
[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
|
||||
Reference in New Issue
Block a user