diff --git a/Cargo.lock b/Cargo.lock index fc6e89656..f5d2e6df0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -422,17 +422,26 @@ dependencies = [ [[package]] name = "clap" -version = "4.1.6" +version = "4.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0b0588d44d4d63a87dbd75c136c166bbfd9a86a31cb89e09906521c7d3f5e3" +checksum = "956ac1f6381d8d82ab4684768f89c0ea3afe66925ceadb4eeb3fc452ffc55d62" dependencies = [ - "bitflags 1.3.2", + "clap_builder", "clap_derive", - "clap_lex 0.3.0", - "is-terminal", "once_cell", +] + +[[package]] +name = "clap_builder" +version = "4.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84080e799e54cff944f4b4a4b0e71630b0e0443b25b985175c7dddc1a859b749" +dependencies = [ + "anstream", + "anstyle", + "bitflags 1.3.2", + "clap_lex 0.4.1", "strsim 0.10.0", - "termcolor", ] [[package]] @@ -441,20 +450,19 @@ version = "4.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "501ff0a401473ea1d4c3b125ff95506b62c5bc5768d818634195fbb7c4ad5ff4" dependencies = [ - "clap 4.1.6", + "clap 4.2.4", ] [[package]] name = "clap_derive" -version = "4.1.0" +version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "684a277d672e91966334af371f1a7b5833f9aa00b07c84e92fbce95e00208ce8" +checksum = "3f9644cd56d6b87dbe899ef8b053e331c0637664e9e21a33dfcdc36093f5c5c4" dependencies = [ "heck", - "proc-macro-error", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.13", ] [[package]] @@ -468,12 +476,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.3.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d4198f73e42b4936b35b5bb248d81d2b595ecb170da0bac7655c54eedfa8da8" -dependencies = [ - "os_str_bytes", -] +checksum = "8a2dd5a6fe8c6e3502f568a6353e5273bbb15193ad9a89e457b9970798efbea1" [[package]] name = "clru" @@ -2463,7 +2468,7 @@ dependencies = [ "askalono", "byte-unit", "bytecount", - "clap 4.1.6", + "clap 4.2.4", "clap_complete", "criterion", "enable-ansi-support", @@ -2508,7 +2513,7 @@ version = "2.17.0" dependencies = [ "anyhow", "base64", - "clap 4.1.6", + "clap 4.2.4", "color_quant", "image", "libc", @@ -2798,30 +2803,6 @@ dependencies = [ "yansi", ] -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2", - "quote", - "syn 1.0.109", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2", - "quote", - "version_check", -] - [[package]] name = "proc-macro2" version = "1.0.56" diff --git a/Cargo.toml b/Cargo.toml index 11654a7ad..a9fdbf9f1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ anyhow = "1.0" askalono = "0.4.6" byte-unit = "4.0.19" bytecount = "0.6.3" -clap = { version = "4.1.6", features = ["derive"] } +clap = { version = "4.2.4", features = ["derive"] } clap_complete = "4.1.4" gix-features-for-configuration-only = { package = "gix-features", version = "0.29.0", features = [ "zlib-ng", diff --git a/image/Cargo.toml b/image/Cargo.toml index 6e5d76c56..d32895eca 100644 --- a/image/Cargo.toml +++ b/image/Cargo.toml @@ -10,7 +10,7 @@ repository = "https://github.com/o2sh/onefetch" [dependencies] anyhow = "1.0" -clap = { version = "4.1.6", features = ["derive"] } +clap = { version = "4.2.4", features = ["derive"] } image = "0.24.6" [target.'cfg(not(windows))'.dependencies]