diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-06-18 02:15:48 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-18 02:15:48 +0200 |
| commit | 88e36a70bdddaa3ac2ddccd1dcd299b321f8c86c (patch) | |
| tree | da94576d2dc07d8c97f59b6e32aa2f165289be83 | |
| parent | b585d547124b9a1e70b0933c11228c065684997d (diff) | |
Update to 2021 edition. (#820)
43 files changed, 51 insertions, 72 deletions
diff --git a/embassy-boot/boot/Cargo.toml b/embassy-boot/boot/Cargo.toml index 0a3006ffc..7ceb5885b 100644 --- a/embassy-boot/boot/Cargo.toml +++ b/embassy-boot/boot/Cargo.toml | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | authors = [ | 2 | authors = [ |
| 3 | "Ulf Lilleengen <[email protected]>", | 3 | "Ulf Lilleengen <[email protected]>", |
| 4 | ] | 4 | ] |
| 5 | edition = "2018" | 5 | edition = "2021" |
| 6 | name = "embassy-boot" | 6 | name = "embassy-boot" |
| 7 | version = "0.1.0" | 7 | version = "0.1.0" |
| 8 | description = "Bootloader using Embassy" | 8 | description = "Bootloader using Embassy" |
diff --git a/embassy-boot/nrf/Cargo.toml b/embassy-boot/nrf/Cargo.toml index 97207ac29..f3cfa1144 100644 --- a/embassy-boot/nrf/Cargo.toml +++ b/embassy-boot/nrf/Cargo.toml | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | authors = [ | 2 | authors = [ |
| 3 | "Ulf Lilleengen <[email protected]>", | 3 | "Ulf Lilleengen <[email protected]>", |
| 4 | ] | 4 | ] |
| 5 | edition = "2018" | 5 | edition = "2021" |
| 6 | name = "embassy-boot-nrf" | 6 | name = "embassy-boot-nrf" |
| 7 | version = "0.1.0" | 7 | version = "0.1.0" |
| 8 | description = "Bootloader for nRF chips" | 8 | description = "Bootloader for nRF chips" |
diff --git a/embassy-cortex-m/Cargo.toml b/embassy-cortex-m/Cargo.toml index 8bd30403e..b1a2b2037 100644 --- a/embassy-cortex-m/Cargo.toml +++ b/embassy-cortex-m/Cargo.toml | |||
| @@ -2,8 +2,7 @@ | |||
| 2 | name = "embassy-cortex-m" | 2 | name = "embassy-cortex-m" |
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 5 | edition = "2018" | 5 | edition = "2021" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [package.metadata.embassy_docs] | 7 | [package.metadata.embassy_docs] |
| 9 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-cortex-m-v$VERSION/embassy-cortex-m/src/" | 8 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-cortex-m-v$VERSION/embassy-cortex-m/src/" |
diff --git a/embassy-embedded-hal/Cargo.toml b/embassy-embedded-hal/Cargo.toml index 14b73dce5..44e0bdbf3 100644 --- a/embassy-embedded-hal/Cargo.toml +++ b/embassy-embedded-hal/Cargo.toml | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | name = "embassy-embedded-hal" | 2 | name = "embassy-embedded-hal" |
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 5 | edition = "2018" | 5 | edition = "2021" |
| 6 | 6 | ||
| 7 | [features] | 7 | [features] |
| 8 | std = [] | 8 | std = [] |
diff --git a/embassy-hal-common/Cargo.toml b/embassy-hal-common/Cargo.toml index fee6da6ff..abce22291 100644 --- a/embassy-hal-common/Cargo.toml +++ b/embassy-hal-common/Cargo.toml | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | name = "embassy-hal-common" | 2 | name = "embassy-hal-common" |
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 5 | edition = "2018" | 5 | edition = "2021" |
| 6 | 6 | ||
| 7 | [features] | 7 | [features] |
| 8 | 8 | ||
diff --git a/embassy-lora/Cargo.toml b/embassy-lora/Cargo.toml index 3a2bd624a..18b90ca14 100644 --- a/embassy-lora/Cargo.toml +++ b/embassy-lora/Cargo.toml | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | name = "embassy-lora" | 2 | name = "embassy-lora" |
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | authors = ["Ulf Lilleengen <[email protected]>"] | 4 | authors = ["Ulf Lilleengen <[email protected]>"] |
| 5 | edition = "2018" | 5 | edition = "2021" |
| 6 | 6 | ||
| 7 | [package.metadata.embassy_docs] | 7 | [package.metadata.embassy_docs] |
| 8 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-lora-v$VERSION/embassy-lora/src/" | 8 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-lora-v$VERSION/embassy-lora/src/" |
diff --git a/embassy-macros/Cargo.toml b/embassy-macros/Cargo.toml index 955121230..eff4b005b 100644 --- a/embassy-macros/Cargo.toml +++ b/embassy-macros/Cargo.toml | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | name = "embassy-macros" | 2 | name = "embassy-macros" |
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 5 | edition = "2018" | 5 | edition = "2021" |
| 6 | 6 | ||
| 7 | [dependencies] | 7 | [dependencies] |
| 8 | syn = { version = "1.0.76", features = ["full", "extra-traits"] } | 8 | syn = { version = "1.0.76", features = ["full", "extra-traits"] } |
diff --git a/embassy-net/Cargo.toml b/embassy-net/Cargo.toml index 87982a726..027bbae31 100644 --- a/embassy-net/Cargo.toml +++ b/embassy-net/Cargo.toml | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | name = "embassy-net" | 2 | name = "embassy-net" |
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 5 | edition = "2018" | 5 | edition = "2021" |
| 6 | 6 | ||
| 7 | 7 | ||
| 8 | [package.metadata.embassy_docs] | 8 | [package.metadata.embassy_docs] |
diff --git a/embassy-nrf/Cargo.toml b/embassy-nrf/Cargo.toml index f1e6815a5..c725199c3 100644 --- a/embassy-nrf/Cargo.toml +++ b/embassy-nrf/Cargo.toml | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | name = "embassy-nrf" | 2 | name = "embassy-nrf" |
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 5 | edition = "2018" | 5 | edition = "2021" |
| 6 | 6 | ||
| 7 | [package.metadata.embassy_docs] | 7 | [package.metadata.embassy_docs] |
| 8 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-nrf-v$VERSION/embassy-nrf/src/" | 8 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-nrf-v$VERSION/embassy-nrf/src/" |
diff --git a/embassy-rp/Cargo.toml b/embassy-rp/Cargo.toml index 4896647fb..2be8b3d14 100644 --- a/embassy-rp/Cargo.toml +++ b/embassy-rp/Cargo.toml | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | name = "embassy-rp" | 2 | name = "embassy-rp" |
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 5 | edition = "2018" | 5 | edition = "2021" |
| 6 | 6 | ||
| 7 | [package.metadata.embassy_docs] | 7 | [package.metadata.embassy_docs] |
| 8 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-rp-v$VERSION/embassy-rp/src/" | 8 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-rp-v$VERSION/embassy-rp/src/" |
diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml index 4f83e4cd5..6bb9a0ed5 100644 --- a/embassy-stm32/Cargo.toml +++ b/embassy-stm32/Cargo.toml | |||
| @@ -2,8 +2,7 @@ | |||
| 2 | name = "embassy-stm32" | 2 | name = "embassy-stm32" |
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 5 | edition = "2018" | 5 | edition = "2021" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [package.metadata.embassy_docs] | 7 | [package.metadata.embassy_docs] |
| 9 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-stm32-v$VERSION/embassy-stm32/src/" | 8 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-stm32-v$VERSION/embassy-stm32/src/" |
| @@ -63,7 +62,7 @@ vcell = "0.1.3" | |||
| 63 | bxcan = "0.6.2" | 62 | bxcan = "0.6.2" |
| 64 | nb = "1.0.0" | 63 | nb = "1.0.0" |
| 65 | stm32-fmc = "0.2.4" | 64 | stm32-fmc = "0.2.4" |
| 66 | seq-macro = "0.2.2" | 65 | seq-macro = "0.3.0" |
| 67 | cfg-if = "1.0.0" | 66 | cfg-if = "1.0.0" |
| 68 | embedded-io = { version = "0.3.0", features = ["async"], optional = true } | 67 | embedded-io = { version = "0.3.0", features = ["async"], optional = true } |
| 69 | 68 | ||
diff --git a/embassy-stm32/src/rcc/l4.rs b/embassy-stm32/src/rcc/l4.rs index 1905039b9..71a938550 100644 --- a/embassy-stm32/src/rcc/l4.rs +++ b/embassy-stm32/src/rcc/l4.rs | |||
| @@ -102,7 +102,7 @@ seq_macro::seq!(N in 8..=86 { | |||
| 102 | #[derive(Clone, Copy)] | 102 | #[derive(Clone, Copy)] |
| 103 | pub enum PLLMul { | 103 | pub enum PLLMul { |
| 104 | #( | 104 | #( |
| 105 | Mul#N, | 105 | Mul~N, |
| 106 | )* | 106 | )* |
| 107 | } | 107 | } |
| 108 | 108 | ||
| @@ -110,7 +110,7 @@ seq_macro::seq!(N in 8..=86 { | |||
| 110 | fn from(val: PLLMul) -> u8 { | 110 | fn from(val: PLLMul) -> u8 { |
| 111 | match val { | 111 | match val { |
| 112 | #( | 112 | #( |
| 113 | PLLMul::Mul#N => N, | 113 | PLLMul::Mul~N => N, |
| 114 | )* | 114 | )* |
| 115 | } | 115 | } |
| 116 | } | 116 | } |
| @@ -120,7 +120,7 @@ seq_macro::seq!(N in 8..=86 { | |||
| 120 | pub fn to_mul(self) -> u32 { | 120 | pub fn to_mul(self) -> u32 { |
| 121 | match self { | 121 | match self { |
| 122 | #( | 122 | #( |
| 123 | PLLMul::Mul#N => N, | 123 | PLLMul::Mul~N => N, |
| 124 | )* | 124 | )* |
| 125 | } | 125 | } |
| 126 | } | 126 | } |
diff --git a/embassy-stm32/src/rcc/l5.rs b/embassy-stm32/src/rcc/l5.rs index 48d12a890..60e1dadea 100644 --- a/embassy-stm32/src/rcc/l5.rs +++ b/embassy-stm32/src/rcc/l5.rs | |||
| @@ -104,7 +104,7 @@ seq_macro::seq!(N in 8..=86 { | |||
| 104 | #[derive(Clone, Copy)] | 104 | #[derive(Clone, Copy)] |
| 105 | pub enum PLLMul { | 105 | pub enum PLLMul { |
| 106 | #( | 106 | #( |
| 107 | Mul#N, | 107 | Mul~N, |
| 108 | )* | 108 | )* |
| 109 | } | 109 | } |
| 110 | 110 | ||
| @@ -112,7 +112,7 @@ seq_macro::seq!(N in 8..=86 { | |||
| 112 | fn from(val: PLLMul) -> u8 { | 112 | fn from(val: PLLMul) -> u8 { |
| 113 | match val { | 113 | match val { |
| 114 | #( | 114 | #( |
| 115 | PLLMul::Mul#N => N, | 115 | PLLMul::Mul~N => N, |
| 116 | )* | 116 | )* |
| 117 | } | 117 | } |
| 118 | } | 118 | } |
| @@ -122,7 +122,7 @@ seq_macro::seq!(N in 8..=86 { | |||
| 122 | pub fn to_mul(self) -> u32 { | 122 | pub fn to_mul(self) -> u32 { |
| 123 | match self { | 123 | match self { |
| 124 | #( | 124 | #( |
| 125 | PLLMul::Mul#N => N, | 125 | PLLMul::Mul~N => N, |
| 126 | )* | 126 | )* |
| 127 | } | 127 | } |
| 128 | } | 128 | } |
diff --git a/embassy-stm32/src/rcc/u5.rs b/embassy-stm32/src/rcc/u5.rs index 74d3a11eb..f09e467c6 100644 --- a/embassy-stm32/src/rcc/u5.rs +++ b/embassy-stm32/src/rcc/u5.rs | |||
| @@ -51,7 +51,7 @@ seq_macro::seq!(N in 2..=128 { | |||
| 51 | pub enum PllClkDiv { | 51 | pub enum PllClkDiv { |
| 52 | NotDivided, | 52 | NotDivided, |
| 53 | #( | 53 | #( |
| 54 | Div#N = (N-1), | 54 | Div~N = (N-1), |
| 55 | )* | 55 | )* |
| 56 | } | 56 | } |
| 57 | 57 | ||
| @@ -60,7 +60,7 @@ seq_macro::seq!(N in 2..=128 { | |||
| 60 | match self { | 60 | match self { |
| 61 | PllClkDiv::NotDivided => 1, | 61 | PllClkDiv::NotDivided => 1, |
| 62 | #( | 62 | #( |
| 63 | PllClkDiv::Div#N => (N + 1), | 63 | PllClkDiv::Div~N => (N + 1), |
| 64 | )* | 64 | )* |
| 65 | } | 65 | } |
| 66 | } | 66 | } |
| @@ -78,7 +78,7 @@ seq_macro::seq!(N in 4..=512 { | |||
| 78 | pub enum PllN { | 78 | pub enum PllN { |
| 79 | NotMultiplied, | 79 | NotMultiplied, |
| 80 | #( | 80 | #( |
| 81 | Mul#N = (N-1), | 81 | Mul~N = (N-1), |
| 82 | )* | 82 | )* |
| 83 | } | 83 | } |
| 84 | 84 | ||
| @@ -87,7 +87,7 @@ seq_macro::seq!(N in 4..=512 { | |||
| 87 | match self { | 87 | match self { |
| 88 | PllN::NotMultiplied => 1, | 88 | PllN::NotMultiplied => 1, |
| 89 | #( | 89 | #( |
| 90 | PllN::Mul#N => (N + 1), | 90 | PllN::Mul~N => (N + 1), |
| 91 | )* | 91 | )* |
| 92 | } | 92 | } |
| 93 | } | 93 | } |
diff --git a/embassy/Cargo.toml b/embassy/Cargo.toml index 2c34047fc..819de23ad 100644 --- a/embassy/Cargo.toml +++ b/embassy/Cargo.toml | |||
| @@ -2,8 +2,7 @@ | |||
| 2 | name = "embassy" | 2 | name = "embassy" |
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 4 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 5 | edition = "2018" | 5 | edition = "2021" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [package.metadata.embassy_docs] | 7 | [package.metadata.embassy_docs] |
| 9 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-v$VERSION/embassy/src/" | 8 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-v$VERSION/embassy/src/" |
diff --git a/examples/boot/nrf/Cargo.toml b/examples/boot/nrf/Cargo.toml index 42bc35430..f1d44bad8 100644 --- a/examples/boot/nrf/Cargo.toml +++ b/examples/boot/nrf/Cargo.toml | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Ulf Lilleengen <[email protected]>"] | 2 | authors = ["Ulf Lilleengen <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-boot-nrf-examples" | 4 | name = "embassy-boot-nrf-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | 6 | ||
diff --git a/examples/boot/stm32l0/Cargo.toml b/examples/boot/stm32l0/Cargo.toml index b6fe9ee65..bbfe692a7 100644 --- a/examples/boot/stm32l0/Cargo.toml +++ b/examples/boot/stm32l0/Cargo.toml | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Ulf Lilleengen <[email protected]>"] | 2 | authors = ["Ulf Lilleengen <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-boot-stm32l0-examples" | 4 | name = "embassy-boot-stm32l0-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | 6 | ||
diff --git a/examples/boot/stm32l1/Cargo.toml b/examples/boot/stm32l1/Cargo.toml index d3c66323e..56cfb6f02 100644 --- a/examples/boot/stm32l1/Cargo.toml +++ b/examples/boot/stm32l1/Cargo.toml | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Ulf Lilleengen <[email protected]>"] | 2 | authors = ["Ulf Lilleengen <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-boot-stm32l1-examples" | 4 | name = "embassy-boot-stm32l1-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | 6 | ||
diff --git a/examples/boot/stm32l4/Cargo.toml b/examples/boot/stm32l4/Cargo.toml index 234ea9b5c..ddb6b151a 100644 --- a/examples/boot/stm32l4/Cargo.toml +++ b/examples/boot/stm32l4/Cargo.toml | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Ulf Lilleengen <[email protected]>"] | 2 | authors = ["Ulf Lilleengen <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-boot-stm32l4-examples" | 4 | name = "embassy-boot-stm32l4-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | 6 | ||
diff --git a/examples/boot/stm32wl/Cargo.toml b/examples/boot/stm32wl/Cargo.toml index b6062b6a6..08136c8e1 100644 --- a/examples/boot/stm32wl/Cargo.toml +++ b/examples/boot/stm32wl/Cargo.toml | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Ulf Lilleengen <[email protected]>"] | 2 | authors = ["Ulf Lilleengen <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-boot-stm32wl-examples" | 4 | name = "embassy-boot-stm32wl-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | 6 | ||
diff --git a/examples/std/Cargo.toml b/examples/std/Cargo.toml index 7e1c2e4bb..06f0f357e 100644 --- a/examples/std/Cargo.toml +++ b/examples/std/Cargo.toml | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-std-examples" | 4 | name = "embassy-std-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | 6 | ||
diff --git a/examples/stm32f0/Cargo.toml b/examples/stm32f0/Cargo.toml index 53358db9a..8e0dad865 100644 --- a/examples/stm32f0/Cargo.toml +++ b/examples/stm32f0/Cargo.toml | |||
| @@ -2,8 +2,7 @@ | |||
| 2 | name = "embassy-stm32f0-examples" | 2 | name = "embassy-stm32f0-examples" |
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | authors = ["Thales Fragoso <[email protected]>"] | 4 | authors = ["Thales Fragoso <[email protected]>"] |
| 5 | edition = "2018" | 5 | edition = "2021" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | 7 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
| 9 | 8 | ||
diff --git a/examples/stm32f1/Cargo.toml b/examples/stm32f1/Cargo.toml index 8de736d6b..503114bfb 100644 --- a/examples/stm32f1/Cargo.toml +++ b/examples/stm32f1/Cargo.toml | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-stm32f1-examples" | 4 | name = "embassy-stm32f1-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [dependencies] | 7 | [dependencies] |
| 9 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } | 8 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } |
diff --git a/examples/stm32f2/Cargo.toml b/examples/stm32f2/Cargo.toml index 8310aa3a1..12bcb7200 100644 --- a/examples/stm32f2/Cargo.toml +++ b/examples/stm32f2/Cargo.toml | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-stm32f2-examples" | 4 | name = "embassy-stm32f2-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [dependencies] | 7 | [dependencies] |
| 9 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } | 8 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } |
diff --git a/examples/stm32f3/Cargo.toml b/examples/stm32f3/Cargo.toml index 15128ecc9..f30a5e969 100644 --- a/examples/stm32f3/Cargo.toml +++ b/examples/stm32f3/Cargo.toml | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-stm32f3-examples" | 4 | name = "embassy-stm32f3-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [dependencies] | 7 | [dependencies] |
| 9 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } | 8 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } |
diff --git a/examples/stm32f4/Cargo.toml b/examples/stm32f4/Cargo.toml index 7260ba0d2..f755c1d8c 100644 --- a/examples/stm32f4/Cargo.toml +++ b/examples/stm32f4/Cargo.toml | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-stm32f4-examples" | 4 | name = "embassy-stm32f4-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | 7 | ||
| 9 | [dependencies] | 8 | [dependencies] |
diff --git a/examples/stm32f7/Cargo.toml b/examples/stm32f7/Cargo.toml index 54d6ed3e3..a51f2e6f4 100644 --- a/examples/stm32f7/Cargo.toml +++ b/examples/stm32f7/Cargo.toml | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-stm32f7-examples" | 4 | name = "embassy-stm32f7-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [dependencies] | 7 | [dependencies] |
| 9 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } | 8 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } |
diff --git a/examples/stm32g0/Cargo.toml b/examples/stm32g0/Cargo.toml index 4b17aa286..1a7f3adcb 100644 --- a/examples/stm32g0/Cargo.toml +++ b/examples/stm32g0/Cargo.toml | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>", "Ben Gamari <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>", "Ben Gamari <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-stm32g0-examples" | 4 | name = "embassy-stm32g0-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [dependencies] | 7 | [dependencies] |
| 9 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } | 8 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } |
diff --git a/examples/stm32g4/Cargo.toml b/examples/stm32g4/Cargo.toml index 0f86c6a38..274825491 100644 --- a/examples/stm32g4/Cargo.toml +++ b/examples/stm32g4/Cargo.toml | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>", "Ben Gamari <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>", "Ben Gamari <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-stm32g4-examples" | 4 | name = "embassy-stm32g4-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [dependencies] | 7 | [dependencies] |
| 9 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } | 8 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } |
diff --git a/examples/stm32h7/Cargo.toml b/examples/stm32h7/Cargo.toml index 8026e11bf..64cc77e71 100644 --- a/examples/stm32h7/Cargo.toml +++ b/examples/stm32h7/Cargo.toml | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-stm32h7-examples" | 4 | name = "embassy-stm32h7-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [dependencies] | 7 | [dependencies] |
| 9 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "time-tick-32768hz"] } | 8 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "time-tick-32768hz"] } |
diff --git a/examples/stm32l0/Cargo.toml b/examples/stm32l0/Cargo.toml index e8e4fbe52..2c1a475b4 100644 --- a/examples/stm32l0/Cargo.toml +++ b/examples/stm32l0/Cargo.toml | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>", "Ulf Lilleengen <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>", "Ulf Lilleengen <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-stm32l0-examples" | 4 | name = "embassy-stm32l0-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [features] | 7 | [features] |
| 9 | default = ["nightly"] | 8 | default = ["nightly"] |
diff --git a/examples/stm32l1/Cargo.toml b/examples/stm32l1/Cargo.toml index 80e6f3906..63516b920 100644 --- a/examples/stm32l1/Cargo.toml +++ b/examples/stm32l1/Cargo.toml | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>", "Ulf Lilleengen <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>", "Ulf Lilleengen <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-stm32l1-examples" | 4 | name = "embassy-stm32l1-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [dependencies] | 7 | [dependencies] |
| 9 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } | 8 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } |
diff --git a/examples/stm32l4/Cargo.toml b/examples/stm32l4/Cargo.toml index fdf0db9c0..950ba7e4d 100644 --- a/examples/stm32l4/Cargo.toml +++ b/examples/stm32l4/Cargo.toml | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-stm32l4-examples" | 4 | name = "embassy-stm32l4-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [features] | 7 | [features] |
| 9 | 8 | ||
diff --git a/examples/stm32l5/Cargo.toml b/examples/stm32l5/Cargo.toml index 7f60e26da..b6d3848d8 100644 --- a/examples/stm32l5/Cargo.toml +++ b/examples/stm32l5/Cargo.toml | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-stm32l5-examples" | 4 | name = "embassy-stm32l5-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [features] | 7 | [features] |
| 9 | 8 | ||
diff --git a/examples/stm32u5/Cargo.toml b/examples/stm32u5/Cargo.toml index 1e3119806..1d752fd3f 100644 --- a/examples/stm32u5/Cargo.toml +++ b/examples/stm32u5/Cargo.toml | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-stm32u5-examples" | 4 | name = "embassy-stm32u5-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [dependencies] | 7 | [dependencies] |
| 9 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } | 8 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } |
diff --git a/examples/stm32wb/Cargo.toml b/examples/stm32wb/Cargo.toml index 1e23182f8..3e096a64d 100644 --- a/examples/stm32wb/Cargo.toml +++ b/examples/stm32wb/Cargo.toml | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-stm32wb-examples" | 4 | name = "embassy-stm32wb-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [dependencies] | 7 | [dependencies] |
| 9 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } | 8 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } |
diff --git a/examples/stm32wl/Cargo.toml b/examples/stm32wl/Cargo.toml index b635cb178..68f5f137d 100644 --- a/examples/stm32wl/Cargo.toml +++ b/examples/stm32wl/Cargo.toml | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>", "Ulf Lilleengen <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>", "Ulf Lilleengen <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-stm32wl-examples" | 4 | name = "embassy-stm32wl-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [dependencies] | 7 | [dependencies] |
| 9 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } | 8 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } |
diff --git a/examples/wasm/Cargo.toml b/examples/wasm/Cargo.toml index 6750f6a6c..7d19c9fe9 100644 --- a/examples/wasm/Cargo.toml +++ b/examples/wasm/Cargo.toml | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Ulf Lilleengen <[email protected]>"] | 2 | authors = ["Ulf Lilleengen <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-wasm-example" | 4 | name = "embassy-wasm-example" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | 6 | ||
diff --git a/stm32-gen-features/Cargo.toml b/stm32-gen-features/Cargo.toml index fea636511..7146a9e9c 100644 --- a/stm32-gen-features/Cargo.toml +++ b/stm32-gen-features/Cargo.toml | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | name = "gen_features" | 2 | name = "gen_features" |
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | authors = ["Côme ALLART <[email protected]>"] | 4 | authors = ["Côme ALLART <[email protected]>"] |
| 5 | edition = "2018" | 5 | edition = "2021" |
| 6 | 6 | ||
| 7 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | 7 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
| 8 | 8 | ||
diff --git a/stm32-metapac-gen/Cargo.toml b/stm32-metapac-gen/Cargo.toml index 5cf142083..0ec2075f3 100644 --- a/stm32-metapac-gen/Cargo.toml +++ b/stm32-metapac-gen/Cargo.toml | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | name = "stm32-metapac-gen" | 2 | name = "stm32-metapac-gen" |
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | edition = "2018" | 4 | edition = "2021" |
| 5 | 5 | ||
| 6 | 6 | ||
| 7 | [dependencies] | 7 | [dependencies] |
diff --git a/stm32-metapac/Cargo.toml b/stm32-metapac/Cargo.toml index 98249ec6a..d74484774 100644 --- a/stm32-metapac/Cargo.toml +++ b/stm32-metapac/Cargo.toml | |||
| @@ -1,8 +1,7 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | name = "stm32-metapac" | 2 | name = "stm32-metapac" |
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | edition = "2018" | 4 | edition = "2021" |
| 5 | resolver = "2" | ||
| 6 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 7 | repository = "https://github.com/embassy-rs/embassy" | 6 | repository = "https://github.com/embassy-rs/embassy" |
| 8 | description = "Peripheral Access Crate (PAC) for all STM32 chips, including metadata." | 7 | description = "Peripheral Access Crate (PAC) for all STM32 chips, including metadata." |
diff --git a/tests/stm32/Cargo.toml b/tests/stm32/Cargo.toml index ad6403ab3..e96c86487 100644 --- a/tests/stm32/Cargo.toml +++ b/tests/stm32/Cargo.toml | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] | 2 | authors = ["Dario Nieuwenhuis <[email protected]>"] |
| 3 | edition = "2018" | 3 | edition = "2021" |
| 4 | name = "embassy-stm32-tests" | 4 | name = "embassy-stm32-tests" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | ||
| 7 | 6 | ||
| 8 | [features] | 7 | [features] |
| 9 | stm32f103c8 = ["embassy-stm32/stm32f103c8"] # Blue Pill | 8 | stm32f103c8 = ["embassy-stm32/stm32f103c8"] # Blue Pill |
diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 1f9eabdf5..249cc6aad 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml | |||
| @@ -3,7 +3,7 @@ authors = [ | |||
| 3 | "Ulf Lilleengen <[email protected]>", | 3 | "Ulf Lilleengen <[email protected]>", |
| 4 | "Bob McWhirter <[email protected]>" | 4 | "Bob McWhirter <[email protected]>" |
| 5 | ] | 5 | ] |
| 6 | edition = "2018" | 6 | edition = "2021" |
| 7 | name = "xtask" | 7 | name = "xtask" |
| 8 | version = "0.1.0" | 8 | version = "0.1.0" |
| 9 | 9 | ||
