Skip to content

Commit

Permalink
fix(deps): use proc-macro-error2 instead of the unmaintained proc-mac…
Browse files Browse the repository at this point in the history
…ro-error
  • Loading branch information
samueltardieu committed Oct 17, 2024
1 parent 5178673 commit 0b81965
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 41 deletions.
60 changes: 21 additions & 39 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion aoc-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name = "aoc_derive"
proc-macro = true

[dependencies]
proc-macro-error = "1.0.4"
proc-macro-error2 = "2.0.1"
proc-macro2 = "1.0.81"
quote = "1.0.36"
syn = { version = "2.0.60", features = ["full", "parsing"] }
Expand Down
2 changes: 1 addition & 1 deletion aoc-derive/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![deny(clippy::pedantic)]

use proc_macro::TokenStream;
use proc_macro_error::{abort, proc_macro_error};
use proc_macro_error2::{abort, proc_macro_error};
use quote::{quote, ToTokens};
use syn::{
parse::{Parse, ParseStream},
Expand Down

0 comments on commit 0b81965

Please sign in to comment.