rtic/actor-example/firmware/Cargo.toml

69 lines
1.3 KiB
TOML
Raw Normal View History

2021-09-27 15:18:37 +02:00
[package]
name = "firmware"
edition = "2018"
version = "0.1.0"
[dependencies]
actors = { path = "../actors" }
cortex-m = "0.7.1"
cortex-m-rt = "0.6.13"
cortex-m-rtic = { path = "../.." }
defmt = "0.2.0"
defmt-rtt = "0.2.0"
nrf52840-hal = "0.12.2"
panic-probe = { version = "0.2.0", features = ["print-defmt"] }
rtic-actor-traits = { path = "../../actor-traits" }
systick-monotonic = "0.1.0-alpha.0"
[features]
# set logging levels here
default = [
"defmt-default",
# "dependency-a/defmt-trace",
]
# do NOT modify these features
defmt-default = []
defmt-trace = []
defmt-debug = []
defmt-info = []
defmt-warn = []
defmt-error = []
# cargo build/run
[profile.dev]
codegen-units = 1
debug = 2
debug-assertions = true # <-
incremental = false
opt-level = 3 # <-
overflow-checks = true # <-
# cargo test
[profile.test]
codegen-units = 1
debug = 2
debug-assertions = true # <-
incremental = false
opt-level = 3 # <-
overflow-checks = true # <-
# cargo build/run --release
[profile.release]
codegen-units = 1
debug = 2
debug-assertions = false # <-
incremental = false
lto = 'fat'
opt-level = 3 # <-
overflow-checks = false # <-
# cargo test --release
[profile.bench]
codegen-units = 1
debug = 2
debug-assertions = false # <-
incremental = false
lto = 'fat'
opt-level = 3 # <-
overflow-checks = false # <-