aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Greig <adam@adamgreig.com> 2022-02-24 01:41:36 +0000
committerGravatar Adam Greig <adam@adamgreig.com> 2022-02-24 01:44:17 +0000
commitc39dfb32f2c8a03a2d94c63fb8a9d0771d7c8c82 (patch)
tree3ce04e656dc90656c54be8c1295680e2158023ca
parent37de64ae532889421a938660e1c2ced87a3bd77a (diff)
downloadcortex-m-c39dfb32f2c8a03a2d94c63fb8a9d0771d7c8c82.tar.gz
cortex-m-c39dfb32f2c8a03a2d94c63fb8a9d0771d7c8c82.tar.zst
cortex-m-c39dfb32f2c8a03a2d94c63fb8a9d0771d7c8c82.zip
Bump to Edition 2021 and rust-version 1.59
-rw-r--r--Cargo.toml3
-rw-r--r--cortex-m-rt/Cargo.toml3
-rw-r--r--cortex-m-rt/macros/Cargo.toml3
-rw-r--r--cortex-m-semihosting/Cargo.toml3
-rw-r--r--panic-semihosting/Cargo.toml2
5 files changed, 10 insertions, 4 deletions
diff --git a/Cargo.toml b/Cargo.toml
index ebbfdfe..914bd62 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,7 +12,8 @@ name = "cortex-m"
readme = "README.md"
repository = "https://github.com/rust-embedded/cortex-m"
version = "0.7.4"
-edition = "2018"
+edition = "2021"
+rust-version = "1.59"
links = "cortex-m" # prevent multiple versions of this crate to be linked together
[dependencies]
diff --git a/cortex-m-rt/Cargo.toml b/cortex-m-rt/Cargo.toml
index ae4eb9f..c292cfe 100644
--- a/cortex-m-rt/Cargo.toml
+++ b/cortex-m-rt/Cargo.toml
@@ -15,7 +15,8 @@ repository = "https://github.com/rust-embedded/cortex-m"
version = "0.7.1"
autoexamples = true
links = "cortex-m-rt" # Prevent multiple versions of cortex-m-rt being linked
-edition = "2018"
+edition = "2021"
+rust-version = "1.59"
[dependencies]
cortex-m-rt-macros = { path = "macros", version = "=0.7.0" }
diff --git a/cortex-m-rt/macros/Cargo.toml b/cortex-m-rt/macros/Cargo.toml
index c73ebc1..e95cc7d 100644
--- a/cortex-m-rt/macros/Cargo.toml
+++ b/cortex-m-rt/macros/Cargo.toml
@@ -8,7 +8,8 @@ license = "MIT OR Apache-2.0"
name = "cortex-m-rt-macros"
repository = "https://github.com/rust-embedded/cortex-m"
version = "0.7.0"
-edition = "2018"
+edition = "2021"
+rust-version = "1.59"
[lib]
proc-macro = true
diff --git a/cortex-m-semihosting/Cargo.toml b/cortex-m-semihosting/Cargo.toml
index 5894029..b539e13 100644
--- a/cortex-m-semihosting/Cargo.toml
+++ b/cortex-m-semihosting/Cargo.toml
@@ -12,7 +12,8 @@ name = "cortex-m-semihosting"
readme = "README.md"
repository = "https://github.com/rust-embedded/cortex-m"
version = "0.4.1"
-edition = "2018"
+edition = "2021"
+rust-version = "1.59"
[features]
inline-asm = []
diff --git a/panic-semihosting/Cargo.toml b/panic-semihosting/Cargo.toml
index dd3511e..0e9749a 100644
--- a/panic-semihosting/Cargo.toml
+++ b/panic-semihosting/Cargo.toml
@@ -11,6 +11,8 @@ license = "MIT OR Apache-2.0"
name = "panic-semihosting"
repository = "https://github.com/rust-embedded/cortex-m"
version = "0.5.6"
+rust-version = "1.59"
+edition = "2021"
[dependencies]
cortex-m = { path = "..", version = ">= 0.5.6, < 0.8" }