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
This commit is contained in:
Pontus Andersson 2024-11-04 08:39:52 +01:00
parent 15bbbdad9a
commit e24b219061
3 changed files with 3 additions and 3 deletions

View file

@ -12,6 +12,7 @@ For each category, *Added*, *Changed*, *Fixed* add new entries at the top!
### Fixed ### Fixed
- CFG: Make `have_basepri` an expected cfg - CFG: Make `have_basepri` an expected cfg
- Removed unused `proc-macro-error` crate from dependencies
### Changed ### Changed

View file

@ -21,7 +21,7 @@ name = "rtic"
[dependencies] [dependencies]
cortex-m = "0.7.0" 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-monotonic = "1.0.0"
rtic-core = "1.0.0" rtic-core = "1.0.0"
heapless = "0.7.7" heapless = "0.7.7"

View file

@ -12,14 +12,13 @@ license = "MIT OR Apache-2.0"
name = "cortex-m-rtic-macros" name = "cortex-m-rtic-macros"
readme = "../README.md" readme = "../README.md"
repository = "https://github.com/rtic-rs/cortex-m-rtic" repository = "https://github.com/rtic-rs/cortex-m-rtic"
version = "1.1.6" version = "1.1.7"
[lib] [lib]
proc-macro = true proc-macro = true
[dependencies] [dependencies]
proc-macro2 = "1" proc-macro2 = "1"
proc-macro-error = "1"
quote = "1" quote = "1"
syn = "1" syn = "1"
rtic-syntax = "1.0.3" rtic-syntax = "1.0.3"