embassy/Cargo.toml

51 lines
1,007 B
TOML
Raw Normal View History

2020-09-22 16:03:43 +00:00
[workspace]
members = [
"embassy",
"embassy-nrf",
2020-12-28 15:17:36 +00:00
"embassy-stm32f4",
"embassy-nrf-examples",
2021-01-04 18:50:22 +00:00
"embassy-stm32f4-examples",
2020-11-27 17:42:59 +00:00
"embassy-macros",
2020-09-22 16:03:43 +00:00
]
2021-02-03 03:30:20 +00:00
# embassy-std enables std-only features. Since Cargo resolves all features
# for all crates in the workspace together, including it would result in
# incompatible features enabled in embassy.
exclude = [
2021-02-03 04:05:05 +00:00
"embassy-std",
"embassy-std-examples",
]
2020-09-22 16:03:43 +00:00
[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 = 's'
2020-09-22 16:03:43 +00:00
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