diff --git a/Cargo.lock b/Cargo.lock index 98732b6..9afb65a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -452,20 +452,39 @@ checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" dependencies = [ "atty", "bitflags 1.3.2", - "clap_lex", + "clap_lex 0.2.4", "indexmap 1.9.3", "strsim", "termcolor", "textwrap", ] +[[package]] +name = "clap" +version = "4.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" +dependencies = [ + "clap_builder", +] + +[[package]] +name = "clap_builder" +version = "4.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" +dependencies = [ + "anstyle", + "clap_lex 0.7.0", +] + [[package]] name = "clap_complete" -version = "3.2.5" +version = "4.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f7a2e0a962c45ce25afce14220bc24f9dade0a1787f185cecf96bfba7847cd8" +checksum = "dd79504325bf38b10165b02e89b4347300f855f273c4cb30c4a3209e6583275e" dependencies = [ - "clap", + "clap 4.5.4", ] [[package]] @@ -477,6 +496,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 = "colorchoice" version = "1.0.1" @@ -631,7 +656,7 @@ dependencies = [ "async-std", "bluetooth-serial-port-async", "blurz", - "clap", + "clap 3.2.25", "clap_complete", "galaxy_buds_rs", "human-panic", diff --git a/Cargo.toml b/Cargo.toml index e492318..8078a67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ galaxy_buds_rs = { git = "https://github.com/JojiiOfficial/GalaxyBuds-rs" } #galaxy_buds_rs = "0.2.10" #galaxy_buds_rs = { path = "../GalaxyBuds-rs" } clap = { version = "3.2.25", features = ["std"] } -clap_complete = "3.2.5" +clap_complete = "4.0.0" async-std = { version = "1.12.0", features = ["attributes"] } bluetooth-serial-port-async = "0.6.3" blurz = "0.4.0"