From 88e36a70bdddaa3ac2ddccd1dcd299b321f8c86c Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sat, 18 Jun 2022 02:15:48 +0200 Subject: Update to 2021 edition. (#820) --- examples/boot/nrf/Cargo.toml | 2 +- examples/boot/stm32l0/Cargo.toml | 2 +- examples/boot/stm32l1/Cargo.toml | 2 +- examples/boot/stm32l4/Cargo.toml | 2 +- examples/boot/stm32wl/Cargo.toml | 2 +- examples/std/Cargo.toml | 2 +- examples/stm32f0/Cargo.toml | 3 +-- examples/stm32f1/Cargo.toml | 3 +-- examples/stm32f2/Cargo.toml | 3 +-- examples/stm32f3/Cargo.toml | 3 +-- examples/stm32f4/Cargo.toml | 3 +-- examples/stm32f7/Cargo.toml | 3 +-- examples/stm32g0/Cargo.toml | 3 +-- examples/stm32g4/Cargo.toml | 3 +-- examples/stm32h7/Cargo.toml | 3 +-- examples/stm32l0/Cargo.toml | 3 +-- examples/stm32l1/Cargo.toml | 3 +-- examples/stm32l4/Cargo.toml | 3 +-- examples/stm32l5/Cargo.toml | 3 +-- examples/stm32u5/Cargo.toml | 3 +-- examples/stm32wb/Cargo.toml | 3 +-- examples/stm32wl/Cargo.toml | 3 +-- examples/wasm/Cargo.toml | 2 +- 23 files changed, 23 insertions(+), 39 deletions(-) (limited to 'examples') 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 @@ [package] authors = ["Ulf Lilleengen "] -edition = "2018" +edition = "2021" name = "embassy-boot-nrf-examples" version = "0.1.0" 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 @@ [package] authors = ["Ulf Lilleengen "] -edition = "2018" +edition = "2021" name = "embassy-boot-stm32l0-examples" version = "0.1.0" 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 @@ [package] authors = ["Ulf Lilleengen "] -edition = "2018" +edition = "2021" name = "embassy-boot-stm32l1-examples" version = "0.1.0" 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 @@ [package] authors = ["Ulf Lilleengen "] -edition = "2018" +edition = "2021" name = "embassy-boot-stm32l4-examples" version = "0.1.0" 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 @@ [package] authors = ["Ulf Lilleengen "] -edition = "2018" +edition = "2021" name = "embassy-boot-stm32wl-examples" version = "0.1.0" 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 @@ [package] authors = ["Dario Nieuwenhuis "] -edition = "2018" +edition = "2021" name = "embassy-std-examples" version = "0.1.0" 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 @@ name = "embassy-stm32f0-examples" version = "0.1.0" authors = ["Thales Fragoso "] -edition = "2018" -resolver = "2" +edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 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 @@ [package] authors = ["Dario Nieuwenhuis "] -edition = "2018" +edition = "2021" name = "embassy-stm32f1-examples" version = "0.1.0" -resolver = "2" [dependencies] 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 @@ [package] authors = ["Dario Nieuwenhuis "] -edition = "2018" +edition = "2021" name = "embassy-stm32f2-examples" version = "0.1.0" -resolver = "2" [dependencies] 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 @@ [package] authors = ["Dario Nieuwenhuis "] -edition = "2018" +edition = "2021" name = "embassy-stm32f3-examples" version = "0.1.0" -resolver = "2" [dependencies] 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 @@ [package] authors = ["Dario Nieuwenhuis "] -edition = "2018" +edition = "2021" name = "embassy-stm32f4-examples" version = "0.1.0" -resolver = "2" [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 @@ [package] authors = ["Dario Nieuwenhuis "] -edition = "2018" +edition = "2021" name = "embassy-stm32f7-examples" version = "0.1.0" -resolver = "2" [dependencies] 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 @@ [package] authors = ["Dario Nieuwenhuis ", "Ben Gamari "] -edition = "2018" +edition = "2021" name = "embassy-stm32g0-examples" version = "0.1.0" -resolver = "2" [dependencies] 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 @@ [package] authors = ["Dario Nieuwenhuis ", "Ben Gamari "] -edition = "2018" +edition = "2021" name = "embassy-stm32g4-examples" version = "0.1.0" -resolver = "2" [dependencies] 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 @@ [package] authors = ["Dario Nieuwenhuis "] -edition = "2018" +edition = "2021" name = "embassy-stm32h7-examples" version = "0.1.0" -resolver = "2" [dependencies] 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 @@ [package] authors = ["Dario Nieuwenhuis ", "Ulf Lilleengen "] -edition = "2018" +edition = "2021" name = "embassy-stm32l0-examples" version = "0.1.0" -resolver = "2" [features] 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 @@ [package] authors = ["Dario Nieuwenhuis ", "Ulf Lilleengen "] -edition = "2018" +edition = "2021" name = "embassy-stm32l1-examples" version = "0.1.0" -resolver = "2" [dependencies] 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 @@ [package] authors = ["Dario Nieuwenhuis "] -edition = "2018" +edition = "2021" name = "embassy-stm32l4-examples" version = "0.1.0" -resolver = "2" [features] 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 @@ [package] authors = ["Dario Nieuwenhuis "] -edition = "2018" +edition = "2021" name = "embassy-stm32l5-examples" version = "0.1.0" -resolver = "2" [features] 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 @@ [package] authors = ["Dario Nieuwenhuis "] -edition = "2018" +edition = "2021" name = "embassy-stm32u5-examples" version = "0.1.0" -resolver = "2" [dependencies] 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 @@ [package] authors = ["Dario Nieuwenhuis "] -edition = "2018" +edition = "2021" name = "embassy-stm32wb-examples" version = "0.1.0" -resolver = "2" [dependencies] 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 @@ [package] authors = ["Dario Nieuwenhuis ", "Ulf Lilleengen "] -edition = "2018" +edition = "2021" name = "embassy-stm32wl-examples" version = "0.1.0" -resolver = "2" [dependencies] 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 @@ [package] authors = ["Ulf Lilleengen "] -edition = "2018" +edition = "2021" name = "embassy-wasm-example" version = "0.1.0" -- cgit