2020-09-22 18:03:43 +02:00
|
|
|
|
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
"embassy",
|
2021-03-02 00:32:23 +01:00
|
|
|
"embassy-traits",
|
2020-09-22 18:03:43 +02:00
|
|
|
"embassy-nrf",
|
2020-12-28 16:17:36 +01:00
|
|
|
"embassy-stm32f4",
|
2021-01-01 22:41:59 +01:00
|
|
|
"embassy-nrf-examples",
|
2021-01-04 19:50:22 +01:00
|
|
|
"embassy-stm32f4-examples",
|
2020-11-27 18:42:59 +01:00
|
|
|
"embassy-macros",
|
2021-03-08 00:15:40 +01:00
|
|
|
"embassy-extras",
|
2020-09-22 18:03:43 +02:00
|
|
|
]
|
|
|
|
|
2021-02-03 04:30:20 +01: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.
|
2020-09-25 03:25:06 +02:00
|
|
|
exclude = [
|
2021-02-03 05:05:05 +01:00
|
|
|
"embassy-std",
|
|
|
|
"embassy-std-examples",
|
2020-09-25 03:25:06 +02:00
|
|
|
]
|
|
|
|
|
2020-09-22 18:03:43 +02: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"
|
2020-12-26 23:44:53 +01:00
|
|
|
opt-level = 's'
|
2020-09-22 18:03:43 +02: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
|