Skip to content

Commit

Permalink
fix: moving to 2021 edition
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasbrendel committed Dec 25, 2023
1 parent b8f70a6 commit 23cda19
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,14 @@ repository = "https://github.com/xmc-rs/xmc4200"
keywords = ["cortex-m", "xmc4x", "no_std", "svd2rust", "embedded"]
documentation = "https://docs.rs/xmc4200/"
categories = ["embedded", "no-std"]
edition = "2018"
edition = "2021"

[dependencies]
cortex-m = "0.7.7"
cortex-m-rt = { version = "0.7.3", optional = true}
critical-section = { version = "1.1.2", optional = true }
vcell = "0.1.3"

[dependencies.cortex-m-rt]
optional = true
version = "0.7.3"

[features]
default = ["critical-section", "rt"]
rt = ["cortex-m-rt/device"]
Expand Down

0 comments on commit 23cda19

Please sign in to comment.