Edition: Bump to 2021

This commit is contained in:
Henrik Tjäder 2021-12-25 13:10:10 +01:00
parent c78177c37e
commit 93ceb6bdef
2 changed files with 2 additions and 1 deletions

View file

@ -7,7 +7,7 @@ authors = [
categories = ["concurrency", "embedded", "no-std"] categories = ["concurrency", "embedded", "no-std"]
description = "Real-Time Interrupt-driven Concurrency (RTIC): a concurrency framework for building real-time systems" description = "Real-Time Interrupt-driven Concurrency (RTIC): a concurrency framework for building real-time systems"
documentation = "https://rtic.rs/" documentation = "https://rtic.rs/"
edition = "2018" edition = "2021"
keywords = ["arm", "cortex-m"] keywords = ["arm", "cortex-m"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
name = "cortex-m-rtic" name = "cortex-m-rtic"

View file

@ -30,6 +30,7 @@
//! [SemVer]: https://semver.org/spec/v2.0.0.html //! [SemVer]: https://semver.org/spec/v2.0.0.html
#![deny(missing_docs)] #![deny(missing_docs)]
#![deny(rust_2021_compatibility)]
#![deny(rust_2018_compatibility)] #![deny(rust_2018_compatibility)]
#![deny(rust_2018_idioms)] #![deny(rust_2018_idioms)]
#![no_std] #![no_std]