37 lines
826 B
TOML
37 lines
826 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"
|
|
|
|
# https://github.com/ch32-rs/ch32-hal/pull/75
|
|
ch32-hal = {git = "https://github.com/paval-shlyk/ch32-hal", rev="ace32859924ab0d5e411521a8f392df01ce262ff", features = [
|
|
"ch32v203f6p6",
|
|
"time-driver-tim1",
|
|
]}
|
|
qingke-rt = { version = "0.5.0", features = ["highcode"] }
|
|
qingke = "0.5.0"
|
|
embedded-hal = "1.0.0"
|
|
|
|
fugit = "0.3.7"
|
|
|
|
embedded-can = "0.4.1"
|
|
|
|
[profile.release]
|
|
strip = true
|
|
opt-level = "z"
|
|
lto = "fat"
|
|
|
|
[profile.dev]
|
|
strip = false # symbols are not flashed to the microcontroller, so don't strip them.
|
|
opt-level = "s" # Optimize for size.
|
|
|
|
[dev-dependencies]
|
|
# No entries, since `no_std` projects are often incompatible with standard tests
|