diff --git a/Cargo.lock b/Cargo.lock index b6f2eb14a..3b83360b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -64,16 +64,15 @@ dependencies = [ [[package]] name = "anstream" -version = "0.3.0" +version = "0.6.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e579a7752471abc2a8268df8b20005e3eadd975f585398f17efcfd8d4927371" +checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", - "is-terminal", "utf8parse", ] @@ -103,12 +102,12 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "1.0.0" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcd8291a340dd8ac70e18878bc4501dd7b4ff970cfa21c207d36ece51ea88fd" +checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" dependencies = [ "anstyle", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -328,7 +327,7 @@ dependencies = [ "atty", "cargo-subcommand", "cargo_metadata", - "clap 4.2.7", + "clap 4.5.4", "human_bytes", "humantime", "northstar-runtime", @@ -352,7 +351,7 @@ version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "787d9ae54fd0dd772fe4fd3f6570a545919a125f9ff4b2984e8967819f9005d3" dependencies = [ - "clap 4.2.7", + "clap 4.5.4", "current_platform", "dunce", "glob", @@ -456,26 +455,24 @@ dependencies = [ [[package]] name = "clap" -version = "4.2.7" +version = "4.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34d21f9bf1b425d2968943631ec91202fe5e837264063503708b83013f8fc938" +checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" dependencies = [ "clap_builder", "clap_derive", - "once_cell", ] [[package]] name = "clap_builder" -version = "4.2.7" +version = "4.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "914c8c79fb560f238ef6429439a30023c862f7a28e688c58f7203f12b29970bd" +checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" dependencies = [ "anstream", "anstyle", - "bitflags 1.3.2", "clap_lex", - "strsim 0.10.0", + "strsim 0.11.0", ] [[package]] @@ -484,16 +481,16 @@ version = "4.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5fc443334c81a804575546c5a8a79b4913b50e28d69232903604cada1de817ce" dependencies = [ - "clap 4.2.7", + "clap 4.5.4", ] [[package]] name = "clap_derive" -version = "4.2.0" +version = "4.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9644cd56d6b87dbe899ef8b053e331c0637664e9e21a33dfcdc36093f5c5c4" +checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "proc-macro2", "quote", "syn 2.0.52", @@ -501,9 +498,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.4.1" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a2dd5a6fe8c6e3502f568a6353e5273bbb15193ad9a89e457b9970798efbea1" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" [[package]] name = "codespan-reporting" @@ -1097,6 +1094,12 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + [[package]] name = "hello-resource" version = "0.0.1" @@ -1540,7 +1543,7 @@ dependencies = [ "android-logd-logger", "anyhow", "bincode", - "clap 4.2.7", + "clap 4.5.4", "console 0.15.7", "log", "nix 0.28.0", @@ -1568,7 +1571,7 @@ version = "0.9.2-pre" dependencies = [ "anyhow", "base64 0.22.0", - "clap 4.2.7", + "clap 4.5.4", "clap_complete", "futures", "humantime", @@ -1651,7 +1654,7 @@ name = "northstar-sextant" version = "0.9.2-pre" dependencies = [ "anyhow", - "clap 4.2.7", + "clap 4.5.4", "colored", "env_logger", "northstar-runtime", @@ -1664,7 +1667,7 @@ name = "northstar-stress" version = "0.9.2-pre" dependencies = [ "anyhow", - "clap 4.2.7", + "clap 4.5.4", "env_logger", "futures", "humantime", @@ -2415,6 +2418,12 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +[[package]] +name = "strsim" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" + [[package]] name = "structopt" version = "0.3.26" @@ -2525,7 +2534,7 @@ version = "0.0.1" dependencies = [ "anyhow", "caps", - "clap 4.2.7", + "clap 4.5.4", "nix 0.28.0", "socket2", ] diff --git a/cargo-npk/Cargo.toml b/cargo-npk/Cargo.toml index 27a7031bc..ac217206f 100644 --- a/cargo-npk/Cargo.toml +++ b/cargo-npk/Cargo.toml @@ -13,7 +13,7 @@ anyhow = "1.0.80" atty = "0.2.14" cargo-subcommand = { version = "0.12.0", features = ["clap"] } cargo_metadata = "0.15.3" -clap = { version = "4.2.7", features = ["derive"] } +clap = { version = "4.5.4", features = ["derive"] } human_bytes = "0.4.3" humantime = "2.1.0" northstar-runtime = { version = "^0.9.2-pre", path = "../northstar-runtime", features = ["npk"] } diff --git a/examples/test-container/Cargo.toml b/examples/test-container/Cargo.toml index 0e0bd65b8..99aab7d42 100644 --- a/examples/test-container/Cargo.toml +++ b/examples/test-container/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" [dependencies] anyhow = { version = "1.0.80", features = ["backtrace"] } caps = "0.5.5" -clap = { version = "4.2.7", features = ["derive"] } +clap = { version = "4.5.4", features = ["derive"] } nix = { version = "0.28.0", default-features = false, features = ["process", "user"] } socket2 = { version = "0.5.6", features = ["all"] } diff --git a/northstar-nstar/Cargo.toml b/northstar-nstar/Cargo.toml index fefc3a0d3..57e11f761 100644 --- a/northstar-nstar/Cargo.toml +++ b/northstar-nstar/Cargo.toml @@ -11,7 +11,7 @@ rust-version.workspace = true [dependencies] anyhow = { version = "1.0.80", features = ["backtrace"] } base64 = "0.22.0" -clap = { version = "4.2.7", features = ["derive"] } +clap = { version = "4.5.4", features = ["derive"] } clap_complete = "4.3.2" futures = { version = "0.3.29", default-features = false } humantime = "2.1.0" diff --git a/northstar-sextant/Cargo.toml b/northstar-sextant/Cargo.toml index 78501f917..46296a15c 100644 --- a/northstar-sextant/Cargo.toml +++ b/northstar-sextant/Cargo.toml @@ -10,7 +10,7 @@ rust-version.workspace = true [dependencies] anyhow = { version = "1.0.80", features = ["backtrace"] } -clap = { version = "4.2.7", features = ["derive"] } +clap = { version = "4.5.4", features = ["derive"] } colored = "2.1.0" env_logger = "0.10.2" northstar-runtime = { version = "^0.9.2-pre", path = "../northstar-runtime", features = ["npk"] } diff --git a/northstar-stress/Cargo.toml b/northstar-stress/Cargo.toml index 75623f4c6..85b910ae6 100644 --- a/northstar-stress/Cargo.toml +++ b/northstar-stress/Cargo.toml @@ -10,7 +10,7 @@ rust-version.workspace = true [dependencies] anyhow = { version = "1.0.80", features = ["backtrace"] } -clap = { version = "4.2.7", features = ["derive"] } +clap = { version = "4.5.4", features = ["derive"] } env_logger = "0.10.2" futures = { version = "0.3.29", default-features = false } humantime = "2.1.0" diff --git a/northstar/Cargo.toml b/northstar/Cargo.toml index a1dff36c5..70f291594 100644 --- a/northstar/Cargo.toml +++ b/northstar/Cargo.toml @@ -11,7 +11,7 @@ rust-version.workspace = true [dependencies] anyhow = { version = "1.0.80", features = ["backtrace"] } -clap = { version = "4.2.7", features = ["derive"] } +clap = { version = "4.5.4", features = ["derive"] } log = { version = "0.4.21", features = ["std"] } nix = { version = "0.28.0", default-features = false, features = ["sched", "mount"] } northstar-runtime = { version = "^0.9.2-pre", path = "../northstar-runtime", features = ["runtime", "rexec"] }