diff --git a/Cargo.lock b/Cargo.lock index 2c1d162..9aebdde 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -17,6 +17,12 @@ dependencies = [ "memchr", ] +[[package]] +name = "anstyle" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" + [[package]] name = "atty" version = "0.2.14" @@ -78,8 +84,8 @@ checksum = "8e538f9ee5aa3b3963f09a997035f883677966ed50fce0292611927ce6f6d8c6" dependencies = [ "atty", "bitflags 1.3.2", - "clap_derive", - "clap_lex", + "clap_derive 3.2.2", + "clap_lex 0.2.4", "indexmap", "lazy_static", "strsim", @@ -87,16 +93,36 @@ dependencies = [ "textwrap", ] +[[package]] +name = "clap" +version = "4.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c918d541ef2913577a0f9566e9ce27cb35b6df072075769e0b26cb5a554520da" +dependencies = [ + "clap_builder", + "clap_derive 4.5.0", +] + [[package]] name = "clap-verbosity-flag" -version = "1.0.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0636f9c040082f8e161555a305f8cec1a1c2828b3d981c812b8c39f4ac00c42c" +checksum = "bb9b20c0dd58e4c2e991c8d203bbeb76c11304d1011659686b5b644bc29aa478" dependencies = [ - "clap", + "clap 4.5.1", "log", ] +[[package]] +name = "clap_builder" +version = "4.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f3e7391dad68afb0c2ede1bf619f579a3dc9c2ec67f089baa397123a2f3d1eb" +dependencies = [ + "anstyle", + "clap_lex 0.7.0", +] + [[package]] name = "clap_derive" version = "3.2.2" @@ -110,6 +136,18 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "clap_derive" +version = "4.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.48", +] + [[package]] name = "clap_lex" version = "0.2.4" @@ -119,6 +157,12 @@ dependencies = [ "os_str_bytes", ] +[[package]] +name = "clap_lex" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" + [[package]] name = "cookie" version = "0.16.2" @@ -418,7 +462,7 @@ dependencies = [ name = "omada_backup" version = "1.1.0" dependencies = [ - "clap", + "clap 3.2.2", "clap-verbosity-flag", "env_logger", "log", diff --git a/Cargo.toml b/Cargo.toml index a4a9cb0..83f2231 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ edition = "2021" [dependencies] clap = { version = "3.2.2", features = ["derive"] } -clap-verbosity-flag = "1.0.1" +clap-verbosity-flag = "2.2.0" ureq = { version = "2.7.1", features = ["json", "cookies", "native-tls"] } native-tls = "0.2.11" url = "2.4.1"