64 lines
1.7 KiB
TOML
64 lines
1.7 KiB
TOML
[package]
|
|
name = "keypad-rs"
|
|
version = "0.1.0"
|
|
authors = ["Avii <git@avii.nl>"]
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
esp-backtrace = { version = "0.16.0", features = [
|
|
"esp32",
|
|
"exception-handler",
|
|
"panic-handler",
|
|
"println",
|
|
] }
|
|
esp-hal = { version = "1.0.0-beta.1", features = ["esp32", "unstable"] }
|
|
esp-println = { version = "0.14.0", features = ["esp32", "log-04"] }
|
|
log = { version = "0.4.27" }
|
|
esp-alloc = { version = "0.8.0" }
|
|
embedded-hal = "1"
|
|
embedded-hal-bus = "0"
|
|
embedded-io = "0.6.1"
|
|
embedded-io-async = { version = "0.6.1" }
|
|
esp-wifi = { version = "0.14.1", features = ["esp32", "wifi"] }
|
|
heapless = { version = "0.8.0", 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",
|
|
] }
|
|
|
|
static_cell = { version = "2.1.0", features = ["nightly"] }
|
|
|
|
embassy-executor = { version = "0.7", features = ["task-arena-size-20480"] }
|
|
embassy-time = { version = "0.4" }
|
|
embassy-net = { version = "0.7", features = [
|
|
"tcp",
|
|
"udp",
|
|
"dhcpv4",
|
|
"medium-ethernet",
|
|
] }
|
|
esp-hal-embassy = { version = "0.8.1", features = ["esp32", "executors"] }
|
|
esp-bootloader-esp-idf = { version = "0.1" }
|
|
it8951 = { version = "0.4.2", path = "../it8951" }
|
|
|
|
|
|
[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
|