relay_button/Cargo.toml

52 lines
1.2 KiB
TOML
Raw Permalink Normal View History

2024-06-09 11:17:42 +00:00
[package]
name = "button-relay"
version = "0.1.0"
authors = ["aok"]
edition = "2021"
license = "MIT OR Apache-2.0"
[lib]
name = "button_relay"
[dependencies]
esp-backtrace = { version = "0.12.0", features = [
"esp32",
"exception-handler",
"panic-handler",
"println",
] }
hal = { package = "esp-hal", version = "0.18.0", features = [
# "embassy",
"async",
"esp32"
# "embassy-time-timg0",
# "embassy-executor-thread",
] }
esp-hal-embassy = {version= "0.1.0", features = ["esp32", "time-timg0"]}
embassy-time = "0.3.1"
embassy-sync = "0.6.0"
2024-06-12 14:14:10 +00:00
# esp-hal-common = "0.15.0"
2024-06-09 11:17:42 +00:00
esp-println = { version = "0.9.1", features = ["esp32", "log"] }
log = { version = "0.4.21" }
2024-06-12 14:14:10 +00:00
heapless = "0.8.0"
2024-06-09 11:17:42 +00:00
esp-alloc = { version = "0.4.0" }
static_cell = { version = "2.1.0", features = ["nightly"] }
embassy-executor = { version = "0.5.0", features = [
"nightly",
"integrated-timers",
] }
[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