Files
cover-theif/Cargo.toml
T

67 lines
1.6 KiB
TOML

[package]
edition = "2024"
name = "cover-theif"
version = "0.1.0"
[[bin]]
name = "cover-theif"
path = "./src/bin/main.rs"
[dependencies]
esp-hal = { version = "~1.1.0", features = ["defmt", "esp32c6", "unstable"] }
esp-rtos = { version = "0.3.0", features = [
"defmt",
"embassy",
"esp-alloc",
"esp-radio",
"esp32c6",
] }
defmt = "1.1.0"
esp-bootloader-esp-idf = { version = "0.5.0", features = ["defmt", "esp32c6"] }
embassy-executor = { version = "0.10.0", features = ["defmt"] }
embassy-time = { version = "0.5.1", features = ["defmt"] }
esp-alloc = { version = "0.10.0", features = ["defmt"] }
esp-backtrace = { version = "0.19.0", features = [
"defmt",
"esp32c6",
"panic-handler",
] }
esp-println = { version = "0.17.0", features = ["defmt-espflash", "esp32c6"] }
critical-section = "1.2.0"
static_cell = "2.1.1"
embassy-net = { version = "0.9.0", features = [
"defmt",
"dhcpv4-hostname",
"medium-ethernet",
"tcp",
"dns",
"mdns",
] }
esp-radio = { version = "0.18.0", features = [
"defmt",
"esp-alloc",
"esp32c6",
"unstable",
"wifi",
] }
picoserve = { version = "0.18", features = ["defmt", "embassy", "json"] }
# For fine tuning these settings, please refer to https://doc.rust-lang.org/cargo/reference/profiles.html
[profile.dev]
# The default debug profile is too slow and too big for resource-constrained devices.
# Always build with some optimizations enabled.
opt-level = "s"
[profile.release]
codegen-units = 1 # LLVM can perform better optimizations using a single thread
debug = 2 # prefer slower builds but better debugging experience
lto = 'fat'
opt-level = 's'