From 57cb1f94ec1b30b726196e6b16b3581c374104f8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 Mar 2023 23:10:55 +1100 Subject: [PATCH] Bump clap from 4.1.14 to 4.2.0 (#961) --- Cargo.lock | 90 +++++++++++++++++++++++++++++++++--------- crates/bin/Cargo.toml | 2 +- crates/leon/Cargo.toml | 2 +- 3 files changed, 73 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 308bced0..ca48ebfc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -58,6 +58,46 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" +[[package]] +name = "anstream" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "342258dd14006105c2b75ab1bd7543a03bdf0cfc94383303ac212a04939dff6f" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-wincon", + "concolor-override", + "concolor-query", + "is-terminal", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23ea9e81bd02e310c216d080f6223c179012256e5151c41db88d12c88a1684d2" + +[[package]] +name = "anstyle-parse" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7d1bb534e9efed14f3e5f44e7dd1a4f709384023a4165199a4241e18dff0116" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-wincon" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3127af6145b149f3287bb9a0d10ad9c5692dba8c53ad48285e5bec4063834fa" +dependencies = [ + "anstyle", + "windows-sys 0.45.0", +] + [[package]] name = "async-compression" version = "0.3.15" @@ -350,7 +390,7 @@ version = "0.22.0" dependencies = [ "binstalk", "binstalk-manifests", - "clap 4.1.14", + "clap 4.2.0", "compact_str", "dirs", "embed-resource", @@ -454,9 +494,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.1.14" +version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "906f7fe1da4185b7a282b2bc90172a496f9def1aca4545fe7526810741591e14" +checksum = "6efb5f0a41b5ef5b50c5da28c07609c20091df0c1fc33d418fa2a7e693c2b624" dependencies = [ "clap_builder", "clap_derive", @@ -465,22 +505,22 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.1.14" +version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "351f9ad9688141ed83dfd8f5fb998a06225ef444b48ff4dc43de6d409b7fd10b" +checksum = "671fcaa5debda4b9a84aa7fde49c907c8986c0e6ab927e04217c9cb74e7c8bc9" dependencies = [ + "anstream", + "anstyle", "bitflags", "clap_lex 0.4.0", - "is-terminal", "strsim", - "termcolor", ] [[package]] name = "clap_derive" -version = "4.1.14" +version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81d7dc0031c3a59a04fc2ba395c8e2dd463cba1859275f065d225f6122221b45" +checksum = "3f9644cd56d6b87dbe899ef8b053e331c0637664e9e21a33dfcdc36093f5c5c4" dependencies = [ "heck", "proc-macro2", @@ -538,6 +578,21 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "concolor-override" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a855d4a1978dc52fb0536a04d384c2c0c1aa273597f08b77c8c4d3b2eec6037f" + +[[package]] +name = "concolor-query" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88d11d52c3d7ca2e6d0040212be9e4dbbcd78b6447f535b6b561f449427944cf" +dependencies = [ + "windows-sys 0.45.0", +] + [[package]] name = "core-foundation" version = "0.9.3" @@ -1255,7 +1310,7 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" name = "leon" version = "1.0.0" dependencies = [ - "clap 4.1.14", + "clap 4.2.0", "criterion", "miette", "serde", @@ -2261,15 +2316,6 @@ dependencies = [ "windows-sys 0.42.0", ] -[[package]] -name = "termcolor" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" -dependencies = [ - "winapi-util", -] - [[package]] name = "terminal_size" version = "0.1.17" @@ -2720,6 +2766,12 @@ dependencies = [ "serde", ] +[[package]] +name = "utf8parse" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" + [[package]] name = "valuable" version = "0.1.0" diff --git a/crates/bin/Cargo.toml b/crates/bin/Cargo.toml index 0f177d95..4a864951 100644 --- a/crates/bin/Cargo.toml +++ b/crates/bin/Cargo.toml @@ -24,7 +24,7 @@ pkg-fmt = "zip" [dependencies] binstalk = { path = "../binstalk", version = "0.11.0", default-features = false } binstalk-manifests = { path = "../binstalk-manifests", version = "0.4.1" } -clap = { version = "4.1.14", features = ["derive", "env"] } +clap = { version = "4.2.0", features = ["derive", "env"] } compact_str = "0.7.0" dirs = "5.0.0" file-format = { version = "0.15.0", default-features = false } diff --git a/crates/leon/Cargo.toml b/crates/leon/Cargo.toml index 986ea57b..626291d9 100644 --- a/crates/leon/Cargo.toml +++ b/crates/leon/Cargo.toml @@ -10,7 +10,7 @@ edition = "2021" license = "Apache-2.0 OR MIT" [dependencies] -clap = { version = "4.1.14", features = ["derive"], optional = true } +clap = { version = "4.2.0", features = ["derive"], optional = true } miette = { version = "5.5.0", default-features = false, optional = true } thiserror = "1.0.38"