diff options
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 48 |
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] | ||
| 3 | members = [ | ||
| 4 | "embassy-net", | ||
| 5 | "embassy-net-examples", | ||
| 6 | ] | ||
| 7 | |||
| 8 | exclude = [ | ||
| 9 | "third_party" | ||
| 10 | ] | ||
| 11 | |||
| 12 | [profile.dev] | ||
| 13 | codegen-units = 1 | ||
| 14 | debug = 2 | ||
| 15 | debug-assertions = true | ||
| 16 | incremental = false | ||
| 17 | opt-level = 3 | ||
| 18 | overflow-checks = true | ||
| 19 | |||
| 20 | [profile.release] | ||
| 21 | codegen-units = 1 | ||
| 22 | debug = 2 | ||
| 23 | debug-assertions = false | ||
| 24 | incremental = false | ||
| 25 | lto = "fat" | ||
| 26 | opt-level = 's' | ||
| 27 | overflow-checks = false | ||
| 28 | |||
| 29 | # do not optimize proc-macro crates = faster builds from scratch | ||
| 30 | [profile.dev.build-override] | ||
| 31 | codegen-units = 8 | ||
| 32 | debug = false | ||
| 33 | debug-assertions = false | ||
| 34 | opt-level = 0 | ||
| 35 | overflow-checks = false | ||
| 36 | |||
| 37 | [profile.release.build-override] | ||
| 38 | codegen-units = 8 | ||
| 39 | debug = false | ||
| 40 | debug-assertions = false | ||
| 41 | opt-level = 0 | ||
| 42 | overflow-checks = false | ||
| 43 | |||
| 44 | [patch.crates-io] | ||
| 45 | embassy = { git = "https://github.com/akiles/embassy" } | ||
| 46 | embassy-std = { git = "https://github.com/akiles/embassy" } | ||
| 47 | embassy-macros = { git = "https://github.com/akiles/embassy" } | ||
| 48 | smoltcp = { git = "https://github.com/akiles/smoltcp" } \ No newline at end of file | ||
