aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2021-02-03 05:09:37 +0100
committerDario Nieuwenhuis <[email protected]>2021-02-03 05:09:37 +0100
commitcb5931d583d283dda3a1b5ed2014c086bb8f98ae (patch)
tree19a669238e0d562bf74616fe38485388ec40b02a /Cargo.toml
:rainbow:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml48
1 files changed, 48 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 000000000..1b3012829
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,48 @@
1
2[workspace]
3members = [
4 "embassy-net",
5 "embassy-net-examples",
6]
7
8exclude = [
9 "third_party"
10]
11
12[profile.dev]
13codegen-units = 1
14debug = 2
15debug-assertions = true
16incremental = false
17opt-level = 3
18overflow-checks = true
19
20[profile.release]
21codegen-units = 1
22debug = 2
23debug-assertions = false
24incremental = false
25lto = "fat"
26opt-level = 's'
27overflow-checks = false
28
29# do not optimize proc-macro crates = faster builds from scratch
30[profile.dev.build-override]
31codegen-units = 8
32debug = false
33debug-assertions = false
34opt-level = 0
35overflow-checks = false
36
37[profile.release.build-override]
38codegen-units = 8
39debug = false
40debug-assertions = false
41opt-level = 0
42overflow-checks = false
43
44[patch.crates-io]
45embassy = { git = "https://github.com/akiles/embassy" }
46embassy-std = { git = "https://github.com/akiles/embassy" }
47embassy-macros = { git = "https://github.com/akiles/embassy" }
48smoltcp = { git = "https://github.com/akiles/smoltcp" } \ No newline at end of file