77 lines
1.7 KiB
TOML
77 lines
1.7 KiB
TOML
[package]
|
|
edition = "2024"
|
|
name = "discount-como"
|
|
version = "0.1.0"
|
|
license = "Apache-2.0"
|
|
|
|
[dependencies]
|
|
embassy-embedded-hal = { version = "0.5.0" }
|
|
embassy-sync = { version = "0.7.2", features = ["log"] }
|
|
embassy-executor = { version = "0.9.1" , features = ["arch-cortex-m", "executor-thread", "executor-interrupt", "log"] }
|
|
embassy-time = { version = "0.5.0", features = ["log"] }
|
|
embassy-rp = { version = "0.9.0" , features = ["log", "time-driver", "critical-section-impl", "rp2040"] }
|
|
embassy-futures = { version = "0.1.2" }
|
|
embassy-usb-logger = { version = "0.5.1" }
|
|
embassy-usb = { version = "0.5.1", features = ["log"] }
|
|
|
|
cortex-m = { version = "0.7.7", features = ["inline-asm"] }
|
|
cortex-m-rt = "0.7.5"
|
|
critical-section = "1.2.0"
|
|
heapless = "0.9.2"
|
|
|
|
log = "0.4"
|
|
display-interface-spi = "0.5.0"
|
|
mipidsi = "0.9.0"
|
|
embedded-hal-bus = "0.3.0"
|
|
embedded-graphics = "0.8.1"
|
|
|
|
[profile.dev]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = true
|
|
incremental = false
|
|
opt-level = 3
|
|
overflow-checks = true
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = false
|
|
incremental = false
|
|
lto = 'fat'
|
|
opt-level = 3
|
|
overflow-checks = false
|
|
|
|
# do not optimize proc-macro crates = faster builds from scratch
|
|
[profile.dev.build-override]
|
|
codegen-units = 8
|
|
debug = false
|
|
debug-assertions = false
|
|
opt-level = 0
|
|
overflow-checks = false
|
|
|
|
[profile.release.build-override]
|
|
codegen-units = 8
|
|
debug = false
|
|
debug-assertions = false
|
|
opt-level = 0
|
|
overflow-checks = false
|
|
|
|
# cargo test
|
|
[profile.test]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = true
|
|
incremental = false
|
|
opt-level = 3
|
|
overflow-checks = true
|
|
|
|
# cargo test --release
|
|
[profile.bench]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = false
|
|
incremental = false
|
|
lto = 'fat'
|
|
opt-level = 3
|