diff --git a/Cargo.lock b/Cargo.lock index ae81f7e..1cb7fe8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -445,7 +445,6 @@ dependencies = [ "itertools", "nullable-result", "parse_int", - "paste", "reedline-repl-rs", "serde", "thiserror", @@ -555,12 +554,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "paste" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1de2e551fb905ac83f73f7aedf2f0cb4a0da7e35efa24a202a936269f1f18e1" - [[package]] name = "proc-macro2" version = "1.0.47" diff --git a/Cargo.toml b/Cargo.toml index 8da96e6..febce92 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,6 @@ inventory = "0.3.1" itertools = "0.10.5" nullable-result = { version = "0.7.0", features=["try_trait"] } parse_int = "0.6.0" -paste = "1.0.9" reedline-repl-rs = { path = "reedline-repl-rs" } serde = { version = "1.0.144", features = ["derive"] } thiserror = "1.0.37" diff --git a/src/card.rs b/src/card.rs index 345b699..a35e12d 100644 --- a/src/card.rs +++ b/src/card.rs @@ -144,8 +144,6 @@ pub const fn u16_get_be_byte(val: u16, idx: u8) -> u8 { #[macro_export] macro_rules! register { ($typ: ty, $name: literal) => { - paste::paste! { - inventory::submit!($crate::card::Type::new::<$typ>($name)); - } + inventory::submit!($crate::card::Type::new::<$typ>($name)); }; }