mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-11-03 18:30:35 +08:00
chore: update deny and audit
The deny tooling removed many of the keys that were in the `deny.toml`. The auditing of the repository reported that `proc-macro-error` is unmaintained ([RUSTSEC-2024-0370]). This is replaced with the fork, `proc-macro-error2`, which is a drop-in replacement. It also produced a vulnerability report ([RUSTSEC-2024-0421]) for the `idna` crate, a transitive dependency of `url`. This is fixed by pinning `url` to `>= 2.5.4` [RUSTSEC-2024-0370]: https://rustsec.org/advisories/RUSTSEC-2024-0370 [RUSTSEC-2024-0421]: https://rustsec.org/advisories/RUSTSEC-2024-0421 It also pins `url` to be `>= 2.5.4`, since
This commit is contained in:
@@ -13,7 +13,7 @@ proc-macro = true
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
proc-macro-error = "1.0.4"
|
||||
proc-macro-error2 = "2"
|
||||
quote = "1"
|
||||
syn = "2"
|
||||
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
// Linking Exception. For full terms see the included LICENSE file.
|
||||
|
||||
#[macro_use]
|
||||
extern crate proc_macro_error;
|
||||
extern crate proc_macro_error2;
|
||||
|
||||
use std::convert::TryInto;
|
||||
|
||||
use proc_macro::TokenStream;
|
||||
use proc_macro_error::abort;
|
||||
use proc_macro_error2::abort;
|
||||
use quote::quote;
|
||||
use syn::{parse_macro_input, LitStr};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user