diff --git a/Cargo.lock b/Cargo.lock index 17b6139822e..4e2b6959316 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -992,8 +992,8 @@ checksum = "86447ad904c7fb335a790c9d7fe3d0d971dc523b8ccd1561a520de9a85302750" dependencies = [ "atty", "bitflags", - "clap_derive", - "clap_lex", + "clap_derive 3.2.18", + "clap_lex 0.2.2", "indexmap", "once_cell", "strsim", @@ -1001,6 +1001,21 @@ dependencies = [ "textwrap", ] +[[package]] +name = "clap" +version = "4.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30607dd93c420c6f1f80b544be522a0238a7db35e6a12968d28910983fee0df0" +dependencies = [ + "atty", + "bitflags", + "clap_derive 4.0.9", + "clap_lex 0.3.0", + "once_cell", + "strsim", + "termcolor", +] + [[package]] name = "clap_derive" version = "3.2.18" @@ -1014,6 +1029,19 @@ dependencies = [ "syn", ] +[[package]] +name = "clap_derive" +version = "4.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4a307492e1a34939f79d3b6b9650bd2b971513cd775436bf2b78defeb5af00b" +dependencies = [ + "heck", + "proc-macro-error", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "clap_lex" version = "0.2.2" @@ -1023,6 +1051,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" @@ -1368,7 +1405,7 @@ dependencies = [ "atty", "cast", "ciborium", - "clap", + "clap 3.2.22", "criterion-plot", "futures", "itertools", @@ -1532,7 +1569,7 @@ dependencies = [ name = "cumulus-client-cli" version = "0.1.0" dependencies = [ - "clap", + "clap 4.0.9", "parity-scale-codec", "sc-chain-spec", "sc-cli", @@ -2108,7 +2145,7 @@ name = "cumulus-test-service" version = "0.1.0" dependencies = [ "async-trait", - "clap", + "clap 4.0.9", "criterion", "cumulus-client-cli", "cumulus-client-consensus-common", @@ -2792,7 +2829,7 @@ dependencies = [ "Inflector", "array-bytes", "chrono", - "clap", + "clap 3.2.22", "comfy-table", "frame-benchmarking", "frame-support", @@ -6431,7 +6468,7 @@ dependencies = [ name = "parachain-template-node" version = "0.1.0" dependencies = [ - "clap", + "clap 4.0.9", "cumulus-client-cli", "cumulus-client-consensus-aura", "cumulus-client-consensus-common", @@ -7030,7 +7067,7 @@ name = "polkadot-cli" version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=master#3dbe51576a82c1297be7b43601dd97bc57693316" dependencies = [ - "clap", + "clap 3.2.22", "frame-benchmarking-cli", "futures", "log", @@ -7688,7 +7725,7 @@ version = "0.9.300" dependencies = [ "assert_cmd", "async-trait", - "clap", + "clap 4.0.9", "collectives-polkadot-runtime", "contracts-rococo-runtime", "cumulus-client-cli", @@ -9379,7 +9416,7 @@ source = "git+https://github.com/paritytech/substrate?branch=master#37664fe5b351 dependencies = [ "array-bytes", "chrono", - "clap", + "clap 3.2.22", "fdlimit", "futures", "libp2p", @@ -12479,7 +12516,7 @@ name = "try-runtime-cli" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#37664fe5b3513eb996225f016eceaf74963b8133" dependencies = [ - "clap", + "clap 3.2.22", "frame-try-runtime", "jsonrpsee", "log", diff --git a/client/cli/Cargo.toml b/client/cli/Cargo.toml index 4f20e564ddb..fe8ee5e740c 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.9", 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 a1b1408936e..da8c916adef 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.9", 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 68b5830bd0c..338f0e5c6bd 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.9", 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 8d9c9c04fa7..d7e64f76fca 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.9", 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"] }