From ba84a1b2f51457db1e95432b9c957209f3849d0f Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Sat, 1 Oct 2022 00:05:34 +0000 Subject: [PATCH] Update Rust crate clap to v4 --- Cargo.lock | 20 ++++++-------------- Cargo.toml | 2 +- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 965f5cd..c00b786 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -717,26 +717,24 @@ dependencies = [ [[package]] name = "clap" -version = "3.2.22" +version = "4.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86447ad904c7fb335a790c9d7fe3d0d971dc523b8ccd1561a520de9a85302750" +checksum = "0a1af219c3e254a8b4649d6ddaef886b2015089f35f2ac5e1db31410c0566ab8" dependencies = [ "atty", "bitflags", "clap_derive", "clap_lex", - "indexmap", "once_cell", "strsim", "termcolor", - "textwrap", ] [[package]] name = "clap_derive" -version = "3.2.18" +version = "4.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65" +checksum = "cd114ae53ce5a0670f43d2f169c1cd26c69b4896b0c121900cf1e4d06d67316c" dependencies = [ "heck", "proc-macro-error", @@ -747,9 +745,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.2.4" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" +checksum = "0d4198f73e42b4936b35b5bb248d81d2b595ecb170da0bac7655c54eedfa8da8" dependencies = [ "os_str_bytes", ] @@ -2563,12 +2561,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "textwrap" -version = "0.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "949517c0cf1bf4ee812e2e07e08ab448e3ae0d23472aee8a06c985f0c8815b16" - [[package]] name = "thiserror" version = "1.0.33" diff --git a/Cargo.toml b/Cargo.toml index a0ebc4b..5302755 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ actix = "0.13.0" actix-identity = "0.5.2" actix-web = "4" actix-session = { version = "0.7.2", features = ["cookie-session"] } -clap = { version = "3.2.22", features = ["derive", "env"] } +clap = { version = "4.0.7", features = ["derive", "env"] } include_dir = "0.7.2" log = "0.4.17" serde_json = "1.0.85"