From c39dfb32f2c8a03a2d94c63fb8a9d0771d7c8c82 Mon Sep 17 00:00:00 2001 From: Adam Greig Date: Thu, 24 Feb 2022 01:41:36 +0000 Subject: Bump to Edition 2021 and rust-version 1.59 --- cortex-m-rt/Cargo.toml | 3 ++- cortex-m-rt/macros/Cargo.toml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'cortex-m-rt') 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 -- cgit v1.2.3