diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-03-29 21:46:51 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-03-29 21:46:51 +0200 |
| commit | 4371302da87f7fad4649c0ef4eade9432dc94529 (patch) | |
| tree | d09f2b75e7e116e6e96f4233c16cca47efbc20b3 /Cargo.toml | |
| parent | 02ae53e71ba034268d929bcbaa359200fcb34690 (diff) | |
Remove workspace Cargo.toml, add template
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/Cargo.toml b/Cargo.toml deleted file mode 100644 index bc3fcdd37..000000000 --- a/Cargo.toml +++ /dev/null | |||
| @@ -1,58 +0,0 @@ | |||
| 1 | |||
| 2 | [workspace] | ||
| 3 | members = [ | ||
| 4 | "embassy", | ||
| 5 | "embassy-traits", | ||
| 6 | "embassy-nrf", | ||
| 7 | "embassy-stm32", | ||
| 8 | "embassy-stm32f4", | ||
| 9 | "embassy-stm32l0", | ||
| 10 | "embassy-nrf-examples", | ||
| 11 | "embassy-stm32f4-examples", | ||
| 12 | "embassy-macros", | ||
| 13 | "embassy-extras", | ||
| 14 | ] | ||
| 15 | |||
| 16 | # embassy-std enables std-only features. Since Cargo resolves all features | ||
| 17 | # for all crates in the workspace together, including it would result in | ||
| 18 | # incompatible features enabled in embassy. | ||
| 19 | exclude = [ | ||
| 20 | "embassy-std", | ||
| 21 | "embassy-std-examples", | ||
| 22 | "embassy-rp", | ||
| 23 | "embassy-rp-examples", | ||
| 24 | ] | ||
| 25 | |||
| 26 | [profile.dev] | ||
| 27 | codegen-units = 1 | ||
| 28 | debug = 2 | ||
| 29 | debug-assertions = true | ||
| 30 | incremental = false | ||
| 31 | opt-level = 3 | ||
| 32 | overflow-checks = true | ||
| 33 | |||
| 34 | [profile.release] | ||
| 35 | codegen-units = 1 | ||
| 36 | debug = 2 | ||
| 37 | debug-assertions = false | ||
| 38 | incremental = false | ||
| 39 | lto = "fat" | ||
| 40 | opt-level = 's' | ||
| 41 | overflow-checks = false | ||
| 42 | |||
| 43 | # do not optimize proc-macro crates = faster builds from scratch | ||
| 44 | [profile.dev.build-override] | ||
| 45 | codegen-units = 8 | ||
| 46 | debug = false | ||
| 47 | debug-assertions = false | ||
| 48 | opt-level = 0 | ||
| 49 | overflow-checks = false | ||
| 50 | |||
| 51 | [profile.release.build-override] | ||
| 52 | codegen-units = 8 | ||
| 53 | debug = false | ||
| 54 | debug-assertions = false | ||
| 55 | opt-level = 0 | ||
| 56 | overflow-checks = false | ||
| 57 | |||
| 58 | [patch.crates-io] | ||
