2020-09-22 18:03:43 +02:00
|
|
|
|
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
"embassy",
|
|
|
|
"embassy-nrf",
|
|
|
|
"examples",
|
|
|
|
]
|
|
|
|
|
2020-09-25 03:25:06 +02:00
|
|
|
exclude = [
|
|
|
|
"third_party"
|
|
|
|
]
|
|
|
|
|
2020-09-22 18:03:43 +02:00
|
|
|
[patch.crates-io]
|
|
|
|
panic-probe = { git = "https://github.com/knurling-rs/probe-run", branch="main" }
|
|
|
|
defmt-rtt = { git = "https://github.com/knurling-rs/defmt", branch="cursed-symbol-names-linkers-must-repent-for-their-sins" }
|
|
|
|
defmt = { git = "https://github.com/knurling-rs/defmt", branch="cursed-symbol-names-linkers-must-repent-for-their-sins" }
|
2020-09-24 22:04:45 +02:00
|
|
|
static-executor = { git = "https://github.com/Dirbaio/static-executor", branch="multi"}
|
2020-09-25 03:25:06 +02:00
|
|
|
futures-intrusive = { git = "https://github.com/Dirbaio/futures-intrusive", branch="master"}
|
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"
|
|
|
|
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
|