From 216a8cd28b1cb022a460e8816c2e8a3a724aac3f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 1 Oct 2022 20:40:44 +0000 Subject: [PATCH] Update Rust crate clap to v4 --- Cargo.lock | 30 ++++++++++++++++++++++++++---- Cargo.toml | 2 +- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fa4a6de..4599066 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -183,7 +183,7 @@ checksum = "a836566fa5f52f7ddf909a8a2f9029b9f78ca584cd95cf7e87f8073110f4c5c9" dependencies = [ "atty", "bitflags", - "clap_lex", + "clap_lex 0.2.2", "indexmap", "lazy_static", "strsim", @@ -191,13 +191,26 @@ dependencies = [ "textwrap", ] +[[package]] +name = "clap" +version = "4.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5840cd9093aabeabf7fd932754c435b7674520fc3ddc935c397837050f0f1e4b" +dependencies = [ + "atty", + "bitflags", + "clap_lex 0.3.0", + "strsim", + "termcolor", +] + [[package]] name = "clap_complete" version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df6f3613c0a3cddfd78b41b10203eb322cb29b600cbdf808a7d3db95691b8e25" dependencies = [ - "clap", + "clap 3.2.1", ] [[package]] @@ -209,6 +222,15 @@ dependencies = [ "os_str_bytes", ] +[[package]] +name = "clap_lex" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d4198f73e42b4936b35b5bb248d81d2b595ecb170da0bac7655c54eedfa8da8" +dependencies = [ + "os_str_bytes", +] + [[package]] name = "cpufeatures" version = "0.2.1" @@ -838,7 +860,7 @@ dependencies = [ "ammonia", "anyhow", "chrono", - "clap", + "clap 3.2.1", "clap_complete", "elasticlunr-rs", "env_logger", @@ -868,7 +890,7 @@ version = "0.1.4" dependencies = [ "async-recursion", "async-trait", - "clap", + "clap 4.0.8", "futures", "lazy_static", "mdbook", diff --git a/Cargo.toml b/Cargo.toml index 1eea358..a11d61d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ edition = "2018" [dependencies] mdbook = "^0.4.21" -clap = "3.2" +clap = "4.0" serde_json = "1.0" pulldown-cmark = "0.9" pulldown-cmark-to-cmark = "10.0"