From e24b2190616f4971ab5808072bb7840cb574f974 Mon Sep 17 00:00:00 2001 From: Pontus Andersson Date: Mon, 4 Nov 2024 08:39:52 +0100 Subject: [PATCH] Remove unused crate proc-macro-error The `proc-macro-error` crate is unmaintained[1] and is causing `cargo audit` failures[1]. Since the create is not even used by `rtic`, just remove it as a dependency. [1]: https://rustsec.org/advisories/RUSTSEC-2024-0370.html --- CHANGELOG.md | 1 + Cargo.toml | 2 +- macros/Cargo.toml | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca7be67ee9..f6e61b1c47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ For each category, *Added*, *Changed*, *Fixed* add new entries at the top! ### Fixed - CFG: Make `have_basepri` an expected cfg +- Removed unused `proc-macro-error` crate from dependencies ### Changed diff --git a/Cargo.toml b/Cargo.toml index 68fea4cb2c..d764e327e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ name = "rtic" [dependencies] cortex-m = "0.7.0" -cortex-m-rtic-macros = { path = "macros", version = "1.1.6" } +cortex-m-rtic-macros = { path = "macros", version = "1.1.7" } rtic-monotonic = "1.0.0" rtic-core = "1.0.0" heapless = "0.7.7" diff --git a/macros/Cargo.toml b/macros/Cargo.toml index c3f0561485..6786130b95 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -12,14 +12,13 @@ license = "MIT OR Apache-2.0" name = "cortex-m-rtic-macros" readme = "../README.md" repository = "https://github.com/rtic-rs/cortex-m-rtic" -version = "1.1.6" +version = "1.1.7" [lib] proc-macro = true [dependencies] proc-macro2 = "1" -proc-macro-error = "1" quote = "1" syn = "1" rtic-syntax = "1.0.3"