36 lines
883 B
TOML
36 lines
883 B
TOML
[package]
|
|
name = "ch32-dimmer-node"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[[bin]]
|
|
name = "ch32-dimmer-node"
|
|
test = false
|
|
bench = false
|
|
|
|
[dependencies]
|
|
panic-halt = "1.0.0"
|
|
ch32-hal = {git = "https://github.com/ch32-rs/ch32-hal", features = [
|
|
"ch32v003f4p6",
|
|
"embassy",
|
|
]}
|
|
qingke-rt = { version = "0.4.0", features = ["highcode"] }
|
|
qingke = "0.4.0"
|
|
embedded-hal = "1.0.0"
|
|
|
|
embassy-executor = {version = "0.6.0", features = [
|
|
# "integrated-timers",
|
|
"arch-spin",
|
|
"executor-thread",
|
|
"task-arena-size-128", # or better use nightly, but fails on recent Rust versions
|
|
]}
|
|
embassy-time = { version = "0.3.0" }
|
|
fugit = "0.3.7"
|
|
|
|
[profile.dev]
|
|
strip = false # symbols are not flashed to the microcontroller, so don't strip them.
|
|
lto = true
|
|
opt-level = "s" # Optimize for size.
|
|
|
|
[dev-dependencies]
|
|
# No entries, since `no_std` projects are often incompatible with standard tests
|