aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml46
1 files changed, 46 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 000000000..4515b020c
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,46 @@
1
2[workspace]
3members = [
4 "embassy",
5 "embassy-nrf",
6 "examples",
7]
8
9[patch.crates-io]
10panic-probe = { git = "https://github.com/knurling-rs/probe-run", branch="main" }
11defmt-rtt = { git = "https://github.com/knurling-rs/defmt", branch="cursed-symbol-names-linkers-must-repent-for-their-sins" }
12defmt = { git = "https://github.com/knurling-rs/defmt", branch="cursed-symbol-names-linkers-must-repent-for-their-sins" }
13static-executor = { git = "https://github.com/Dirbaio/static-executor" }
14static-executor-cortex-m = { git = "https://github.com/Dirbaio/static-executor" }
15
16[profile.dev]
17codegen-units = 1
18debug = 2
19debug-assertions = true
20incremental = false
21opt-level = 3
22overflow-checks = true
23
24[profile.release]
25codegen-units = 1
26debug = 2
27debug-assertions = false
28incremental = false
29lto = "fat"
30opt-level = 3
31overflow-checks = false
32
33# do not optimize proc-macro crates = faster builds from scratch
34[profile.dev.build-override]
35codegen-units = 8
36debug = false
37debug-assertions = false
38opt-level = 0
39overflow-checks = false
40
41[profile.release.build-override]
42codegen-units = 8
43debug = false
44debug-assertions = false
45opt-level = 0
46overflow-checks = false