diff --git a/Cargo.lock b/Cargo.lock index bb6539c..9f23fc4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -207,7 +207,7 @@ dependencies = [ "atty", "bitflags 1.3.2", "clap_derive", - "clap_lex", + "clap_lex 0.2.4", "indexmap", "once_cell", "strsim", @@ -215,13 +215,32 @@ dependencies = [ "textwrap", ] +[[package]] +name = "clap" +version = "4.5.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fbb260a053428790f3de475e304ff84cdbc4face759ea7a3e64c1edd938a7fc" +dependencies = [ + "clap_builder", +] + +[[package]] +name = "clap_builder" +version = "4.5.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64b17d7ea74e9f833c7dbf2cbe4fb12ff26783eda4782a8975b72f895c9b4d99" +dependencies = [ + "anstyle", + "clap_lex 0.7.2", +] + [[package]] name = "clap_complete" -version = "3.2.5" +version = "4.5.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f7a2e0a962c45ce25afce14220bc24f9dade0a1787f185cecf96bfba7847cd8" +checksum = "a8670053e87c316345e384ca1f3eba3006fc6355ed8b8a1140d104e109e3df34" dependencies = [ - "clap", + "clap 4.5.13", ] [[package]] @@ -246,6 +265,12 @@ dependencies = [ "os_str_bytes", ] +[[package]] +name = "clap_lex" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" + [[package]] name = "console" version = "0.15.7" @@ -648,7 +673,7 @@ dependencies = [ "assert_cmd", "byte-unit", "chrono", - "clap", + "clap 3.2.25", "clap_complete", "dirs", "futures-util", diff --git a/Cargo.toml b/Cargo.toml index 77b889f..dce68c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ anyhow = "1.0" byte-unit = { version = "4.0", default-features = false } chrono = { version = "0.4", features = ["serde"] } clap = { version = "3.1", features = ["cargo", "derive"] } -clap_complete = "3.2" +clap_complete = "4.5" dirs = "4.0.0" futures-util = "0.3" indicatif = "0.16"