diff --git a/Cargo.lock b/Cargo.lock index 91795e97bacc..10714b5749f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -995,8 +995,8 @@ checksum = "86447ad904c7fb335a790c9d7fe3d0d971dc523b8ccd1561a520de9a85302750" dependencies = [ "atty", "bitflags", - "clap_derive", - "clap_lex", + "clap_derive 3.2.18", + "clap_lex 0.2.2", "indexmap", "once_cell", "strsim", @@ -1004,6 +1004,21 @@ dependencies = [ "textwrap", ] +[[package]] +name = "clap" +version = "4.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea54a38e4bce14ff6931c72e5b3c43da7051df056913d4e7e1fcdb1c03df69d" +dependencies = [ + "atty", + "bitflags", + "clap_derive 4.0.13", + "clap_lex 0.3.0", + "once_cell", + "strsim", + "termcolor", +] + [[package]] name = "clap_derive" version = "3.2.18" @@ -1017,6 +1032,19 @@ dependencies = [ "syn", ] +[[package]] +name = "clap_derive" +version = "4.0.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c42f169caba89a7d512b5418b09864543eeb4d497416c917d7137863bd2076ad" +dependencies = [ + "heck", + "proc-macro-error", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "clap_lex" version = "0.2.2" @@ -1026,6 +1054,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 = "cmake" version = "0.1.48" @@ -1370,7 +1407,7 @@ dependencies = [ "atty", "cast", "ciborium", - "clap", + "clap 3.2.22", "criterion-plot", "futures", "itertools", @@ -1534,7 +1571,7 @@ dependencies = [ name = "cumulus-client-cli" version = "0.1.0" dependencies = [ - "clap", + "clap 4.0.14", "parity-scale-codec", "sc-chain-spec", "sc-cli", @@ -2160,7 +2197,7 @@ name = "cumulus-test-service" version = "0.1.0" dependencies = [ "async-trait", - "clap", + "clap 4.0.14", "criterion", "cumulus-client-cli", "cumulus-client-consensus-common", @@ -2845,7 +2882,7 @@ dependencies = [ "Inflector", "array-bytes", "chrono", - "clap", + "clap 3.2.22", "comfy-table", "frame-benchmarking", "frame-support", @@ -6527,7 +6564,7 @@ dependencies = [ name = "parachain-template-node" version = "0.1.0" dependencies = [ - "clap", + "clap 4.0.14", "cumulus-client-cli", "cumulus-client-consensus-aura", "cumulus-client-consensus-common", @@ -7127,7 +7164,7 @@ name = "polkadot-cli" version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=master#f479d1ead57ec3e2963163c4c6ed51fb507f6759" dependencies = [ - "clap", + "clap 3.2.22", "frame-benchmarking-cli", "futures", "log", @@ -7788,7 +7825,7 @@ version = "0.9.300" dependencies = [ "assert_cmd", "async-trait", - "clap", + "clap 4.0.14", "collectives-polkadot-runtime", "contracts-rococo-runtime", "cumulus-client-cli", @@ -9481,7 +9518,7 @@ source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa5355 dependencies = [ "array-bytes", "chrono", - "clap", + "clap 3.2.22", "fdlimit", "futures", "libp2p", @@ -12581,7 +12618,7 @@ name = "try-runtime-cli" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ - "clap", + "clap 3.2.22", "frame-try-runtime", "jsonrpsee", "log", diff --git a/client/cli/Cargo.toml b/client/cli/Cargo.toml index 4f20e564ddb3..b1ae6f803429 100644 --- a/client/cli/Cargo.toml +++ b/client/cli/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Parity Technologies "] edition = "2021" [dependencies] -clap = { version = "3.2.22", features = ["derive", "deprecated"] } +clap = { version = "4.0.14", features = ["derive", "deprecated"] } codec = { package = "parity-scale-codec", version = "3.0.0" } url = "2.3.1" diff --git a/parachain-template/node/Cargo.toml b/parachain-template/node/Cargo.toml index 6db0087fffee..c94cb583b95f 100644 --- a/parachain-template/node/Cargo.toml +++ b/parachain-template/node/Cargo.toml @@ -10,7 +10,7 @@ edition = "2021" build = "build.rs" [dependencies] -clap = { version = "3.2.22", features = ["derive"] } +clap = { version = "4.0.14", features = ["derive"] } log = "0.4.17" codec = { package = "parity-scale-codec", version = "3.0.0" } serde = { version = "1.0.145", features = ["derive"] } diff --git a/polkadot-parachain/Cargo.toml b/polkadot-parachain/Cargo.toml index a871294aad99..8e8e25752ffb 100644 --- a/polkadot-parachain/Cargo.toml +++ b/polkadot-parachain/Cargo.toml @@ -8,7 +8,7 @@ description = "Runs a polkadot parachain node which could be a collator." [dependencies] async-trait = "0.1.57" -clap = { version = "3.2.22", features = ["derive", "deprecated"] } +clap = { version = "4.0.14", features = ["derive", "deprecated"] } codec = { package = "parity-scale-codec", version = "3.0.0" } futures = "0.3.24" hex-literal = "0.3.4" diff --git a/test/service/Cargo.toml b/test/service/Cargo.toml index 1d4648d378d6..7cf97fe49653 100644 --- a/test/service/Cargo.toml +++ b/test/service/Cargo.toml @@ -10,7 +10,7 @@ path = "src/main.rs" [dependencies] async-trait = "0.1.57" -clap = { version = "3.2.22", features = ["derive", "deprecated"] } +clap = { version = "4.0.14", features = ["derive", "deprecated"] } codec = { package = "parity-scale-codec", version = "3.0.0" } criterion = { version = "0.4.0", features = [ "async_tokio" ] } jsonrpsee = { version = "0.15.1", features = ["server"] }