Bump structopt from 0.3.23 to 0.3.25 (#10253)

* Bump structopt from 0.3.23 to 0.3.25

Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.23 to 0.3.25.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.23...v0.3.25)

---
updated-dependencies:
- dependency-name: structopt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* cargo fmt

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
dependabot[bot]
2021-11-13 02:35:07 +00:00
committed by GitHub
parent 423cde8ad0
commit bae12f41b8
20 changed files with 28 additions and 28 deletions
+4 -4
View File
@@ -10010,9 +10010,9 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]]
name = "structopt"
version = "0.3.23"
version = "0.3.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf9d950ef167e25e0bdb073cf1d68e9ad2795ac826f2f3f59647817cf23c0bfa"
checksum = "40b9788f4202aa75c240ecc9c15c65185e6a39ccdeb0fd5d008b98825464c87c"
dependencies = [
"clap",
"lazy_static",
@@ -10021,9 +10021,9 @@ dependencies = [
[[package]]
name = "structopt-derive"
version = "0.4.16"
version = "0.4.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "134d838a2c9943ac3125cf6df165eda53493451b719f3255b2a26b85f772d0ba"
checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0"
dependencies = [
"heck",
"proc-macro-error",
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
name = "node-template"
[dependencies]
structopt = "0.3.8"
structopt = "0.3.25"
sc-cli = { version = "0.10.0-dev", path = "../../../client/cli", features = ["wasmtime"] }
sp-core = { version = "4.0.0-dev", path = "../../../primitives/core" }
+2 -2
View File
@@ -40,7 +40,7 @@ futures = "0.3.16"
hex-literal = "0.3.4"
log = "0.4.8"
rand = "0.7.2"
structopt = { version = "0.3.8", optional = true }
structopt = { version = "0.3.25", optional = true }
# primitives
sp-authority-discovery = { version = "4.0.0-dev", path = "../../../primitives/authority-discovery" }
@@ -136,7 +136,7 @@ remote-externalities = { path = "../../../utils/frame/remote-externalities" }
pallet-timestamp = { version = "4.0.0-dev", path = "../../../frame/timestamp" }
[build-dependencies]
structopt = { version = "0.3.8", optional = true }
structopt = { version = "0.3.25", optional = true }
node-inspect = { version = "0.9.0-dev", optional = true, path = "../inspect" }
frame-benchmarking-cli = { version = "4.0.0-dev", optional = true, path = "../../../utils/frame/benchmarking-cli" }
substrate-build-script-utils = { version = "3.0.0", optional = true, path = "../../../utils/build-script-utils" }
@@ -21,4 +21,4 @@ node-cli = { version = "3.0.0-dev", path = "../../node/cli" }
sp-core = { version = "4.0.0-dev", path = "../../../primitives/core" }
sp-keystore = { version = "0.10.0-dev", path = "../../../primitives/keystore" }
rand = "0.7.2"
structopt = "0.3.8"
structopt = "0.3.25"
+1 -1
View File
@@ -18,4 +18,4 @@ name = "subkey"
[dependencies]
sc-cli = { version = "0.10.0-dev", path = "../../../client/cli" }
structopt = "0.3.14"
structopt = "0.3.25"
+1 -1
View File
@@ -38,7 +38,7 @@ sc-service = { version = "0.10.0-dev", default-features = false, path = "../serv
sc-telemetry = { version = "4.0.0-dev", path = "../telemetry" }
sp-keyring = { version = "4.0.0-dev", path = "../../primitives/keyring" }
names = { version = "0.12.0", default-features = false }
structopt = "0.3.8"
structopt = "0.3.25"
sc-tracing = { version = "4.0.0-dev", path = "../tracing" }
chrono = "0.4.10"
serde = "1.0.126"
@@ -111,7 +111,7 @@ pub(super) fn check_header<B: BlockT + Sized>(
);
check_secondary_plain_header::<B>(pre_hash, secondary, sig, &epoch)?;
}
},
PreDigest::SecondaryVRF(secondary)
if epoch.config.allowed_slots.is_secondary_vrf_slots_allowed() =>
{
@@ -122,7 +122,7 @@ pub(super) fn check_header<B: BlockT + Sized>(
);
check_secondary_vrf_header::<B>(pre_hash, secondary, sig, &epoch)?;
}
},
_ => return Err(babe_err(Error::SecondarySlotAssignmentsDisabled)),
}
@@ -712,7 +712,7 @@ impl Notifications {
timer: delay_id,
timer_deadline: *backoff,
};
}
},
// Disabled => Enabled
PeerState::Disabled { mut connections, backoff_until } => {
@@ -2085,7 +2085,7 @@ impl NetworkBehaviour for Notifications {
.boxed(),
);
}
}
},
// We intentionally never remove elements from `delays`, and it may
// thus contain obsolete entries. This is a normal situation.
@@ -203,7 +203,7 @@ impl<B: BlockT> BlockCollection<B> {
{
*downloading -= 1;
false
}
},
Some(&mut BlockRangeState::Downloading { .. }) => true,
_ => false,
};
@@ -529,7 +529,7 @@ fn fallback_name_working() {
{
assert_eq!(negotiated_fallback, Some(PROTOCOL_NAME));
break
}
},
_ => {},
};
}
+2 -2
View File
@@ -336,13 +336,13 @@ impl<B: BlockT + 'static, H: ExHashT> TransactionsHandler<B, H> {
},
);
debug_assert!(_was_in.is_none());
}
},
Event::NotificationStreamClosed { remote, protocol }
if protocol == self.protocol_name =>
{
let _peer = self.peers.remove(&remote);
debug_assert!(_peer.is_some());
}
},
Event::NotificationsReceived { remote, messages } => {
for (protocol, message) in messages {
@@ -33,5 +33,5 @@ remote-externalities = { path = "../../../utils/frame/remote-externalities", ver
# others
tokio = { version = "1", features = ["macros"] }
log = "0.4.14"
structopt = "0.3.23"
structopt = "0.3.25"
clap = "2.33.3"
@@ -772,7 +772,7 @@ pub mod pallet {
Self::on_initialize_open_unsigned(enabled, now);
T::WeightInfo::on_initialize_open_unsigned()
}
}
},
_ => T::WeightInfo::on_initialize_nothing(),
}
}
@@ -130,12 +130,12 @@ impl PalletStructDef {
if generate_storage_info.is_none() =>
{
generate_storage_info = Some(span);
}
},
PalletStructAttr::StorageVersion { storage_version, .. }
if storage_version_found.is_none() =>
{
storage_version_found = Some(storage_version);
}
},
attr => {
let msg = "Unexpected duplicated attribute";
return Err(syn::Error::new(attr.span(), msg))
@@ -20,7 +20,7 @@ honggfuzz = "0.5"
rand = { version = "0.7.3", features = ["std", "small_rng"] }
sp-npos-elections = { version = "4.0.0-dev", path = ".." }
sp-runtime = { version = "4.0.0-dev", path = "../../runtime" }
structopt = "0.3.21"
structopt = "0.3.25"
[[bin]]
name = "reduce"
@@ -25,7 +25,7 @@ sp-keystore = { version = "0.10.0-dev", path = "../../../primitives/keystore" }
sp-runtime = { version = "4.0.0-dev", path = "../../../primitives/runtime" }
sp-state-machine = { version = "0.10.0-dev", path = "../../../primitives/state-machine" }
codec = { version = "2.0.0", package = "parity-scale-codec" }
structopt = "0.3.8"
structopt = "0.3.25"
chrono = "0.4"
serde = "1.0.126"
handlebars = "3.5.0"
@@ -14,7 +14,7 @@ readme = "README.md"
sp-core = { version = "4.0.0-dev", path = "../../../primitives/core" }
sc-cli = { version = "0.10.0-dev", path = "../../../client/cli" }
sp-runtime = { version = "4.0.0-dev", path = "../../../primitives/runtime" }
structopt = "0.3.8"
structopt = "0.3.25"
frame-system = { version = "4.0.0-dev", path = "../../../frame/system" }
frame-support = { version = "4.0.0-dev", path = "../../../frame/support" }
@@ -23,4 +23,4 @@ sp-io = { version = "4.0.0-dev", path = "../../../primitives/io" }
chrono = { version = "0.4.19" }
git2 = { version = "0.13.23", default-features = false }
num-format = { version = "0.4.0" }
structopt = "0.3.21"
structopt = "0.3.25"
@@ -14,4 +14,4 @@ node-runtime = { version = "3.0.0-dev", path = "../../../../bin/node/runtime" }
generate-bags = { version = "4.0.0-dev", path = "../" }
# third-party
structopt = "0.3.21"
structopt = "0.3.25"
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
log = "0.4.8"
parity-scale-codec = { version = "2.3.1" }
serde = "1.0.126"
structopt = "0.3.8"
structopt = "0.3.25"
sc-service = { version = "0.10.0-dev", default-features = false, path = "../../../../client/service" }
sc-cli = { version = "0.10.0-dev", path = "../../../../client/cli" }