Skip to content

Commit ef27f1c

Browse files
authored
chore(deps): switch to proc-macro-error2 (#10387)
1 parent 8ee5205 commit ef27f1c

File tree

4 files changed

+4
-31
lines changed

4 files changed

+4
-31
lines changed

Cargo.lock

Lines changed: 1 addition & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ doc = false
2222
proc-macro2.workspace = true
2323
quote.workspace = true
2424
syn.workspace = true
25-
proc-macro-error = "1"
25+
proc-macro-error2 = "2"

crates/macros/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
77

88
#[macro_use]
9-
extern crate proc_macro_error;
9+
extern crate proc_macro_error2;
1010

1111
use proc_macro::TokenStream;
12-
use proc_macro_error::proc_macro_error;
1312
use syn::{parse_macro_input, DeriveInput, Error};
1413

1514
mod cheatcodes;

deny.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@
55
version = 2
66
yanked = "warn"
77
ignore = [
8-
# proc-macro-error is unmaintained
9-
"RUSTSEC-2024-0370",
108
# https://rustsec.org/advisories/RUSTSEC-2024-0436 paste! is unmaintained
119
"RUSTSEC-2024-0436",
1210
# https://rustsec.org/advisories/RUSTSEC-2024-0437 protobuf! Crash due to uncontrolled recursion in protobuf crate.
1311
"RUSTSEC-2024-0437",
1412
# https://rustsec.org/advisories/RUSTSEC-2025-0021 gitoxide uses SHA-1 hash implementations without any collision detection, leaving it vulnerable to hash collision attacks.
15-
"RUSTSEC-2025-0021"
13+
"RUSTSEC-2025-0021",
1614
]
1715

1816
# This section is considered when running `cargo deny check bans`.

0 commit comments

Comments
 (0)