2021-02-03 05:09:37 +01:00
|
|
|
|
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
"embassy-net",
|
|
|
|
"embassy-net-examples",
|
|
|
|
]
|
|
|
|
|
|
|
|
exclude = [
|
|
|
|
"third_party"
|
|
|
|
]
|
|
|
|
|
|
|
|
[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'
|
|
|
|
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
|
|
|
|
|
|
|
|
[patch.crates-io]
|
2021-04-07 19:06:45 +02:00
|
|
|
embassy = { git = "https://github.com/embassy-rs/embassy" }
|
|
|
|
embassy-std = { git = "https://github.com/embassy-rs/embassy" }
|
|
|
|
embassy-macros = { git = "https://github.com/embassy-rs/embassy" }
|
|
|
|
embassy-traits = { git = "https://github.com/embassy-rs/embassy" }
|
|
|
|
smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp", rev="9ce3d9505ef5455bb049713b9262561d78ebf330" }
|