Skip to content

Commit

Permalink
Remove unused crate proc-macro-error
Browse files Browse the repository at this point in the history
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
  • Loading branch information
epontan committed Nov 5, 2024
1 parent 15bbbda commit e24b219
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e24b219

Please sign in to comment.