aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt')
-rw-r--r--cortex-m-rt/Cargo.toml3
-rw-r--r--cortex-m-rt/macros/Cargo.toml3
2 files changed, 4 insertions, 2 deletions
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