diff --git a/Cargo.toml b/Cargo.toml index b47431e..1fc3505 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ repository = "https://github.com/rust-netlink/netlink-packet-core" description = "netlink packet types" [dependencies] -pastey = "0.1.0" +paste = "1" [dev-dependencies] netlink-packet-route = "0.13.0" diff --git a/deny.toml b/deny.toml new file mode 100644 index 0000000..2c24421 --- /dev/null +++ b/deny.toml @@ -0,0 +1,9 @@ +[licenses] +allow = [ + "Apache-2.0", + "MIT", +] + +[[advisories.ignore]] +id = "RUSTSEC-2024-0436" +reason = "Unmaintained paste is consider as finished which is better than un-vetted altertives" diff --git a/src/lib.rs b/src/lib.rs index 3dc7c8f..5316550 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -295,4 +295,4 @@ pub use self::traits::{ // For buffer! macros #[doc(hidden)] -pub use pastey::paste; +pub use paste::paste; diff --git a/src/parsers.rs b/src/parsers.rs index 7e3e490..46cdbcd 100644 --- a/src/parsers.rs +++ b/src/parsers.rs @@ -5,7 +5,7 @@ use std::{ net::{IpAddr, Ipv4Addr, Ipv6Addr}, }; -use pastey::paste; +use paste::paste; use crate::DecodeError;