From f86b27a66d4a41fc5db93ed2695b1fe68cff677a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 23 Jan 2024 14:54:38 +0000 Subject: [PATCH] Update Rust crate clap_complete to v4 --- Cargo.lock | 41 ++++++++++++++++++++++++++++++++++++----- Cargo.toml | 2 +- 2 files changed, 37 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6bee6afa3..8f569afa0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -17,6 +17,12 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +[[package]] +name = "anstyle" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" + [[package]] name = "anyhow" version = "1.0.61" @@ -113,7 +119,7 @@ checksum = "29e724a68d9319343bb3328c9cc2dfde263f4b3142ee1059a9980580171c954b" dependencies = [ "atty", "bitflags", - "clap_lex", + "clap_lex 0.2.4", "indexmap", "once_cell", "strsim", @@ -121,13 +127,32 @@ dependencies = [ "textwrap", ] +[[package]] +name = "clap" +version = "4.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c" +dependencies = [ + "clap_builder", +] + +[[package]] +name = "clap_builder" +version = "4.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7" +dependencies = [ + "anstyle", + "clap_lex 0.6.0", +] + [[package]] name = "clap_complete" -version = "3.2.4" +version = "4.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4179da71abd56c26b54dd0c248cc081c1f43b0a1a7e8448e28e57a29baa993d" +checksum = "df631ae429f6613fcd3a7c1adbdb65f637271e561b03680adaa6573015dfb106" dependencies = [ - "clap", + "clap 4.4.18", ] [[package]] @@ -139,6 +164,12 @@ dependencies = [ "os_str_bytes", ] +[[package]] +name = "clap_lex" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" + [[package]] name = "colored" version = "2.0.0" @@ -214,7 +245,7 @@ dependencies = [ "anyhow", "bugreport", "cargo-husky", - "clap", + "clap 3.2.17", "clap_complete", "colored", "console", diff --git a/Cargo.toml b/Cargo.toml index 71245d3d7..cc85be7ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ is-it-maintained-open-issues = { repository = "tversteeg/emplace" } anyhow = { version = "1.0.61", features = ["backtrace"] } bugreport = "0.5.0" clap = { version = "3.2.17", features = ["env", "cargo"] } -clap_complete = "3.2.4" +clap_complete = "4.4.9" colored = "2.0.0" console = "0.15.1" dialoguer = "0.10.2"