summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDario Nieuwenhuis <dirbaio@dirbaio.net>2022-06-18 02:15:48 +0200
committerGitHub <noreply@github.com>2022-06-18 02:15:48 +0200
commit88e36a70bdddaa3ac2ddccd1dcd299b321f8c86c (patch)
treeda94576d2dc07d8c97f59b6e32aa2f165289be83 /examples
parentb585d547124b9a1e70b0933c11228c065684997d (diff)
downloadembassy-88e36a70bdddaa3ac2ddccd1dcd299b321f8c86c.zip
Update to 2021 edition. (#820)
Diffstat (limited to 'examples')
-rw-r--r--examples/boot/nrf/Cargo.toml2
-rw-r--r--examples/boot/stm32l0/Cargo.toml2
-rw-r--r--examples/boot/stm32l1/Cargo.toml2
-rw-r--r--examples/boot/stm32l4/Cargo.toml2
-rw-r--r--examples/boot/stm32wl/Cargo.toml2
-rw-r--r--examples/std/Cargo.toml2
-rw-r--r--examples/stm32f0/Cargo.toml3
-rw-r--r--examples/stm32f1/Cargo.toml3
-rw-r--r--examples/stm32f2/Cargo.toml3
-rw-r--r--examples/stm32f3/Cargo.toml3
-rw-r--r--examples/stm32f4/Cargo.toml3
-rw-r--r--examples/stm32f7/Cargo.toml3
-rw-r--r--examples/stm32g0/Cargo.toml3
-rw-r--r--examples/stm32g4/Cargo.toml3
-rw-r--r--examples/stm32h7/Cargo.toml3
-rw-r--r--examples/stm32l0/Cargo.toml3
-rw-r--r--examples/stm32l1/Cargo.toml3
-rw-r--r--examples/stm32l4/Cargo.toml3
-rw-r--r--examples/stm32l5/Cargo.toml3
-rw-r--r--examples/stm32u5/Cargo.toml3
-rw-r--r--examples/stm32wb/Cargo.toml3
-rw-r--r--examples/stm32wl/Cargo.toml3
-rw-r--r--examples/wasm/Cargo.toml2
23 files changed, 23 insertions, 39 deletions
diff --git a/examples/boot/nrf/Cargo.toml b/examples/boot/nrf/Cargo.toml
index 42bc3543..f1d44bad 100644
--- a/examples/boot/nrf/Cargo.toml
+++ b/examples/boot/nrf/Cargo.toml
@@ -1,6 +1,6 @@
[package]
authors = ["Ulf Lilleengen <lulf@redhat.com>"]
-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 b6fe9ee6..bbfe692a 100644
--- a/examples/boot/stm32l0/Cargo.toml
+++ b/examples/boot/stm32l0/Cargo.toml
@@ -1,6 +1,6 @@
[package]
authors = ["Ulf Lilleengen <lulf@redhat.com>"]
-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 d3c66323..56cfb6f0 100644
--- a/examples/boot/stm32l1/Cargo.toml
+++ b/examples/boot/stm32l1/Cargo.toml
@@ -1,6 +1,6 @@
[package]
authors = ["Ulf Lilleengen <lulf@redhat.com>"]
-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 234ea9b5..ddb6b151 100644
--- a/examples/boot/stm32l4/Cargo.toml
+++ b/examples/boot/stm32l4/Cargo.toml
@@ -1,6 +1,6 @@
[package]
authors = ["Ulf Lilleengen <lulf@redhat.com>"]
-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 b6062b6a..08136c8e 100644
--- a/examples/boot/stm32wl/Cargo.toml
+++ b/examples/boot/stm32wl/Cargo.toml
@@ -1,6 +1,6 @@
[package]
authors = ["Ulf Lilleengen <lulf@redhat.com>"]
-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 7e1c2e4b..06f0f357 100644
--- a/examples/std/Cargo.toml
+++ b/examples/std/Cargo.toml
@@ -1,6 +1,6 @@
[package]
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
-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 53358db9..8e0dad86 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 <thales.fragosoz@gmail.com>"]
-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 8de736d6..503114bf 100644
--- a/examples/stm32f1/Cargo.toml
+++ b/examples/stm32f1/Cargo.toml
@@ -1,9 +1,8 @@
[package]
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
-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 8310aa3a..12bcb720 100644
--- a/examples/stm32f2/Cargo.toml
+++ b/examples/stm32f2/Cargo.toml
@@ -1,9 +1,8 @@
[package]
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
-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 15128ecc..f30a5e96 100644
--- a/examples/stm32f3/Cargo.toml
+++ b/examples/stm32f3/Cargo.toml
@@ -1,9 +1,8 @@
[package]
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
-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 7260ba0d..f755c1d8 100644
--- a/examples/stm32f4/Cargo.toml
+++ b/examples/stm32f4/Cargo.toml
@@ -1,9 +1,8 @@
[package]
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
-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 54d6ed3e..a51f2e6f 100644
--- a/examples/stm32f7/Cargo.toml
+++ b/examples/stm32f7/Cargo.toml
@@ -1,9 +1,8 @@
[package]
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
-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 4b17aa28..1a7f3adc 100644
--- a/examples/stm32g0/Cargo.toml
+++ b/examples/stm32g0/Cargo.toml
@@ -1,9 +1,8 @@
[package]
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>", "Ben Gamari <ben@smart-cactus.org>"]
-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 0f86c6a3..27482549 100644
--- a/examples/stm32g4/Cargo.toml
+++ b/examples/stm32g4/Cargo.toml
@@ -1,9 +1,8 @@
[package]
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>", "Ben Gamari <ben@smart-cactus.org>"]
-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 8026e11b..64cc77e7 100644
--- a/examples/stm32h7/Cargo.toml
+++ b/examples/stm32h7/Cargo.toml
@@ -1,9 +1,8 @@
[package]
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
-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 e8e4fbe5..2c1a475b 100644
--- a/examples/stm32l0/Cargo.toml
+++ b/examples/stm32l0/Cargo.toml
@@ -1,9 +1,8 @@
[package]
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>", "Ulf Lilleengen <ulf.lilleengen@gmail.com>"]
-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 80e6f390..63516b92 100644
--- a/examples/stm32l1/Cargo.toml
+++ b/examples/stm32l1/Cargo.toml
@@ -1,9 +1,8 @@
[package]
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>", "Ulf Lilleengen <ulf.lilleengen@gmail.com>"]
-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 fdf0db9c..950ba7e4 100644
--- a/examples/stm32l4/Cargo.toml
+++ b/examples/stm32l4/Cargo.toml
@@ -1,9 +1,8 @@
[package]
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
-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 7f60e26d..b6d3848d 100644
--- a/examples/stm32l5/Cargo.toml
+++ b/examples/stm32l5/Cargo.toml
@@ -1,9 +1,8 @@
[package]
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
-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 1e311980..1d752fd3 100644
--- a/examples/stm32u5/Cargo.toml
+++ b/examples/stm32u5/Cargo.toml
@@ -1,9 +1,8 @@
[package]
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
-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 1e23182f..3e096a64 100644
--- a/examples/stm32wb/Cargo.toml
+++ b/examples/stm32wb/Cargo.toml
@@ -1,9 +1,8 @@
[package]
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
-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 b635cb17..68f5f137 100644
--- a/examples/stm32wl/Cargo.toml
+++ b/examples/stm32wl/Cargo.toml
@@ -1,9 +1,8 @@
[package]
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>", "Ulf Lilleengen <ulf.lilleengen@gmail.com>"]
-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 6750f6a6..7d19c9fe 100644
--- a/examples/wasm/Cargo.toml
+++ b/examples/wasm/Cargo.toml
@@ -1,6 +1,6 @@
[package]
authors = ["Ulf Lilleengen <lulf@redhat.com>"]
-edition = "2018"
+edition = "2021"
name = "embassy-wasm-example"
version = "0.1.0"