From f48f910780dd2f209305be12ee4ba8370820e0de Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Mon, 11 Nov 2024 20:44:27 -0800 Subject: [PATCH] cargo: remove the unmaintained "derivative" crate Related-to: https://rustsec.org/advisories/RUSTSEC-2024-0388 --- Cargo.lock | 35 ++++++----------------------------- Cargo.toml | 1 - 2 files changed, 6 insertions(+), 30 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ccd0407..224b966 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -163,7 +163,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -234,17 +234,6 @@ version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" -[[package]] -name = "derivative" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "difflib" version = "0.4.0" @@ -333,7 +322,6 @@ dependencies = [ "clap", "clap_complete", "crossbeam", - "derivative", "dirs", "function_name", "glob", @@ -448,7 +436,7 @@ dependencies = [ "proc-macro2", "quote", "strum", - "syn 2.0.87", + "syn", "thiserror", ] @@ -669,7 +657,7 @@ checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -733,7 +721,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.87", + "syn", ] [[package]] @@ -746,17 +734,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - [[package]] name = "syn" version = "2.0.87" @@ -791,7 +768,7 @@ checksum = "a7c61ec9a6f64d2793d8a45faba21efbe3ced62a886d44c36a009b2b519b4c7e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] [[package]] @@ -1055,5 +1032,5 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn", ] diff --git a/Cargo.toml b/Cargo.toml index 20ba425..de09c23 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,6 @@ anyhow = "1.0" clap = { version = "4.5", features = ["derive", "string"] } clap_complete = "4.5" crossbeam = "0.8" -derivative = "2.2" dirs = "5.0" glob = "0.3" indexmap = "2.6"