52 lines
1.0 KiB
TOML
52 lines
1.0 KiB
TOML
[package]
|
|
name = "cmdr-keyboard"
|
|
version = "0.2.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
cortex-m = "0.7.2"
|
|
cortex-m-rt = "0.7"
|
|
embedded-hal = "1.0.0"
|
|
embedded_hal_0_2 = {package = "embedded-hal", version = "0.2.5", features = ["unproven"]}
|
|
fugit = "0.3.6"
|
|
panic-halt = "0.2.0"
|
|
rp2040-boot2 = "0.3.0"
|
|
rp2040-hal = {version = "0.11.0", features = ["binary-info", "critical-section-impl", "rt"]}
|
|
|
|
# USB hid dependencies
|
|
usbd-human-interface-device = {version = "0.5.1"}
|
|
usb-device = "0.3"
|
|
|
|
# ws2812-pio dependencies
|
|
ws2812-pio = "0.9.0"
|
|
smart-leds = "0.4.0"
|
|
|
|
[lints.clippy]
|
|
too_long_first_doc_paragraph = "allow"
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
debug = 0
|
|
debug-assertions = false
|
|
incremental = false
|
|
lto = 'fat'
|
|
opt-level = 3
|
|
overflow-checks = false
|
|
|
|
[[bin]]
|
|
name = "cmdr-keyboard"
|
|
test = false
|
|
bench = false
|
|
path = "src/main.rs"
|
|
|
|
[features]
|
|
default = []
|
|
std = []
|
|
|
|
[target.'cfg(target_arch = "arm")'.dependencies]
|
|
static_cell = "2.1.0"
|
|
portable-atomic = { version = "1.11.0", default-features = false, features = ["unsafe-assume-single-core"] }
|