Bump clap from 3.0.14 to 3.1.1 (#4968)

* Bump clap from 3.0.14 to 3.1.1

Bumps [clap](https://github.com/clap-rs/clap) from 3.0.14 to 3.1.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.0.14...v3.1.1)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* avoid deprecated AppSettings::Hidden

* avoid another deprecated instance

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io>
This commit is contained in:
dependabot[bot]
2022-02-23 08:31:42 +00:00
committed by GitHub
parent 4ff40eb562
commit 8aff3cb81b
9 changed files with 16 additions and 16 deletions
+4 -4
View File
@@ -1060,9 +1060,9 @@ dependencies = [
[[package]] [[package]]
name = "clap" name = "clap"
version = "3.0.14" version = "3.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b63edc3f163b3c71ec8aa23f9bd6070f77edbf3d1d198b164afa90ff00e4ec62" checksum = "6d76c22c9b9b215eeb8d016ad3a90417bd13cb24cf8142756e6472445876cab7"
dependencies = [ dependencies = [
"atty", "atty",
"bitflags", "bitflags",
@@ -1077,9 +1077,9 @@ dependencies = [
[[package]] [[package]]
name = "clap_derive" name = "clap_derive"
version = "3.0.6" version = "3.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "517358c28fcef6607bf6f76108e02afad7e82297d132a6b846dcc1fc3efcd153" checksum = "5fd1122e63869df2cb309f449da1ad54a7c6dfeb7c7e6ccd8e0825d9eb93bb72"
dependencies = [ dependencies = [
"heck 0.4.0", "heck 0.4.0",
"proc-macro-error", "proc-macro-error",
+1 -1
View File
@@ -14,7 +14,7 @@ wasm-opt = false
crate-type = ["cdylib", "rlib"] crate-type = ["cdylib", "rlib"]
[dependencies] [dependencies]
clap = { version = "3.0", features = ["derive"], optional = true } clap = { version = "3.1", features = ["derive"], optional = true }
log = "0.4.13" log = "0.4.13"
thiserror = "1.0.30" thiserror = "1.0.30"
futures = "0.3.21" futures = "0.3.21"
+3 -3
View File
@@ -16,7 +16,7 @@
//! Polkadot CLI library. //! Polkadot CLI library.
use clap::{AppSettings, Parser}; use clap::Parser;
#[allow(missing_docs)] #[allow(missing_docs)]
#[derive(Debug, Parser)] #[derive(Debug, Parser)]
@@ -43,11 +43,11 @@ pub enum Subcommand {
Revert(sc_cli::RevertCmd), Revert(sc_cli::RevertCmd),
#[allow(missing_docs)] #[allow(missing_docs)]
#[clap(name = "prepare-worker", setting = AppSettings::Hidden)] #[clap(name = "prepare-worker", hide = true)]
PvfPrepareWorker(ValidationWorkerCommand), PvfPrepareWorker(ValidationWorkerCommand),
#[allow(missing_docs)] #[allow(missing_docs)]
#[clap(name = "execute-worker", setting = AppSettings::Hidden)] #[clap(name = "execute-worker", hide = true)]
PvfExecuteWorker(ValidationWorkerCommand), PvfExecuteWorker(ValidationWorkerCommand),
/// The custom benchmark subcommand benchmarking runtime pallets. /// The custom benchmark subcommand benchmarking runtime pallets.
+1 -1
View File
@@ -28,7 +28,7 @@ color-eyre = { version = "0.6.0", default-features = false }
assert_matches = "1.5" assert_matches = "1.5"
async-trait = "0.1.52" async-trait = "0.1.52"
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
clap = { version = "3.0", features = ["derive"] } clap = { version = "3.1", features = ["derive"] }
futures = "0.3.21" futures = "0.3.21"
futures-timer = "3.0.2" futures-timer = "3.0.2"
tracing = "0.1.31" tracing = "0.1.31"
+3 -3
View File
@@ -16,7 +16,7 @@
//! A malus or nemesis node launch code. //! A malus or nemesis node launch code.
use clap::{AppSettings, Parser}; use clap::Parser;
use color_eyre::eyre; use color_eyre::eyre;
use polkadot_cli::{Cli, RunCmd}; use polkadot_cli::{Cli, RunCmd};
@@ -40,11 +40,11 @@ enum NemesisVariant {
DisputeAncestor(RunCmd), DisputeAncestor(RunCmd),
#[allow(missing_docs)] #[allow(missing_docs)]
#[clap(name = "prepare-worker", setting = AppSettings::Hidden)] #[clap(name = "prepare-worker", hide = true)]
PvfPrepareWorker(polkadot_cli::ValidationWorkerCommand), PvfPrepareWorker(polkadot_cli::ValidationWorkerCommand),
#[allow(missing_docs)] #[allow(missing_docs)]
#[clap(name = "execute-worker", setting = AppSettings::Hidden)] #[clap(name = "execute-worker", hide = true)]
PvfExecuteWorker(polkadot_cli::ValidationWorkerCommand), PvfExecuteWorker(polkadot_cli::ValidationWorkerCommand),
} }
@@ -15,7 +15,7 @@ path = "bin/puppet_worker.rs"
[dependencies] [dependencies]
parity-scale-codec = { version = "2.3.1", default-features = false, features = ["derive"] } parity-scale-codec = { version = "2.3.1", default-features = false, features = ["derive"] }
clap = { version = "3.0", features = ["derive"] } clap = { version = "3.1", features = ["derive"] }
futures = "0.3.21" futures = "0.3.21"
futures-timer = "3.0.2" futures-timer = "3.0.2"
log = "0.4.13" log = "0.4.13"
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
clap = { version = "3.0", features = ["derive"] } clap = { version = "3.1", features = ["derive"] }
generate-bags = { git = "https://github.com/paritytech/substrate", branch = "master" } generate-bags = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" }
@@ -17,6 +17,6 @@ sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
clap = { version = "3.0", features = ["derive"] } clap = { version = "3.1", features = ["derive"] }
log = "0.4.14" log = "0.4.14"
tokio = { version = "1.17.0", features = ["macros"] } tokio = { version = "1.17.0", features = ["macros"] }
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
clap = { version = "3.0", features = ["derive", "env"] } clap = { version = "3.1", features = ["derive", "env"] }
codec = { package = "parity-scale-codec", version = "2.0.0" } codec = { package = "parity-scale-codec", version = "2.0.0" }
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] } tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
jsonrpsee = { version = "0.8", features = ["ws-client", "macros"] } jsonrpsee = { version = "0.8", features = ["ws-client", "macros"] }