insert-coin/ch32v-insert-coin/Cargo.toml

41 lines
837 B
TOML

[package]
name = "ch32v-insert-coin"
version = "0.1.0"
edition = "2024"
[dependencies]
ch32-hal = { path = "ext/ch32-hal/", features = [
"ch32v003f4p6",
"memory-x",
"embassy",
"time-driver-tim2",
"rt",
] }
critical-section = "1.2.0"
embassy-executor = { version = "0.7.0", features = [
"arch-riscv32",
"executor-thread",
#"nightly",
"task-arena-size-512", # or better use nightly, but fails on recent Rust versions
] }
embassy-time = "0.4.0"
panic-halt = "1.0"
embedded-hal = "1.0.0"
qingke = "*"
qingke-rt = { version = "*", features = ["highcode"] }
adpcm-pwm-dac = { path = "ext/adpcm-pwm-dac/" }
[profile.release]
strip = false # symbols are not flashed to the microcontroller, so don't strip them.
lto = true
opt-level = "z" # Optimize for size.
[profile.dev]
overflow-checks = false