From bb87312a2e518bd27d9cde865112ef41a11fb75a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 15 Sep 2022 10:24:12 +0200 Subject: [PATCH] Bump criterion from 0.3.6 to 0.4.0 (#1618) Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.3.6 to 0.4.0. - [Release notes](https://github.com/bheisler/criterion.rs/releases) - [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.6...0.4.0) --- updated-dependencies: - dependency-name: criterion dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 131 ++++++++++++++++------------------------ test/service/Cargo.toml | 2 +- 2 files changed, 52 insertions(+), 81 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0a21837dc11..b5f1ca0b92b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -88,6 +88,12 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fbf688625d06217d5b1bb0ea9d9c44a1635fd0ee3534466388d18203174f4d11" +[[package]] +name = "anes" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" + [[package]] name = "ansi_term" version = "0.12.1" @@ -724,7 +730,6 @@ dependencies = [ "lazy_static", "memchr", "regex-automata", - "serde", ] [[package]] @@ -814,15 +819,6 @@ dependencies = [ "serde_json", ] -[[package]] -name = "cast" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c24dab4283a142afa2fdca129b80ad2c6284e073930f964c3a1293c225ee39a" -dependencies = [ - "rustc_version 0.4.0", -] - [[package]] name = "cast" version = "0.3.0" @@ -912,6 +908,33 @@ dependencies = [ "winapi", ] +[[package]] +name = "ciborium" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0c137568cc60b904a7724001b35ce2630fd00d5d84805fbb608ab89509d788f" +dependencies = [ + "ciborium-io", + "ciborium-ll", + "serde", +] + +[[package]] +name = "ciborium-io" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "346de753af073cc87b52b2083a506b38ac176a44cfb05497b622e27be899b369" + +[[package]] +name = "ciborium-ll" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "213030a2b5a4e0c0892b6652260cf6ccac84827b83a85a534e178e3906c4cf1b" +dependencies = [ + "ciborium-io", + "half", +] + [[package]] name = "cid" version = "0.8.6" @@ -954,17 +977,6 @@ dependencies = [ "libloading 0.7.2", ] -[[package]] -name = "clap" -version = "2.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" -dependencies = [ - "bitflags", - "textwrap 0.11.0", - "unicode-width", -] - [[package]] name = "clap" version = "3.2.20" @@ -979,7 +991,7 @@ dependencies = [ "once_cell", "strsim", "termcolor", - "textwrap 0.15.0", + "textwrap", ] [[package]] @@ -1344,15 +1356,16 @@ dependencies = [ [[package]] name = "criterion" -version = "0.3.6" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b01d6de93b2b6c65e17c634a26653a29d107b3c98c607c765bf38d041531cd8f" +checksum = "e7c76e09c1aae2bc52b3d2f29e13c6572553b30c4aa1b8a49fd70de6412654cb" dependencies = [ + "anes", "atty", - "cast 0.3.0", - "clap 2.34.0", + "cast", + "ciborium", + "clap", "criterion-plot", - "csv", "futures", "itertools", "lazy_static", @@ -1362,7 +1375,6 @@ dependencies = [ "rayon", "regex", "serde", - "serde_cbor", "serde_derive", "serde_json", "tinytemplate", @@ -1372,11 +1384,11 @@ dependencies = [ [[package]] name = "criterion-plot" -version = "0.4.4" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d00996de9f2f7559f7f4dc286073197f83e92256a59ed395f9aac01fe717da57" +checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1" dependencies = [ - "cast 0.2.7", + "cast", "itertools", ] @@ -1482,28 +1494,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "csv" -version = "1.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1" -dependencies = [ - "bstr", - "csv-core", - "itoa 0.4.8", - "ryu", - "serde", -] - -[[package]] -name = "csv-core" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90" -dependencies = [ - "memchr", -] - [[package]] name = "ctor" version = "0.1.21" @@ -1538,7 +1528,7 @@ dependencies = [ name = "cumulus-client-cli" version = "0.1.0" dependencies = [ - "clap 3.2.20", + "clap", "parity-scale-codec", "sc-chain-spec", "sc-cli", @@ -2152,7 +2142,7 @@ name = "cumulus-test-service" version = "0.1.0" dependencies = [ "async-trait", - "clap 3.2.20", + "clap", "criterion", "cumulus-client-cli", "cumulus-client-consensus-common", @@ -2836,7 +2826,7 @@ source = "git+https://github.com/paritytech/substrate?branch=master#dc22e48e1da7 dependencies = [ "Inflector", "chrono", - "clap 3.2.20", + "clap", "comfy-table", "frame-benchmarking", "frame-support", @@ -6477,7 +6467,7 @@ dependencies = [ name = "parachain-template-node" version = "0.1.0" dependencies = [ - "clap 3.2.20", + "clap", "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-aura", @@ -7091,7 +7081,7 @@ name = "polkadot-cli" version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=master#7725d4b5a12eb503a2380ac534468b87b4476f03" dependencies = [ - "clap 3.2.20", + "clap", "frame-benchmarking-cli", "futures", "log", @@ -7748,7 +7738,7 @@ version = "0.9.230" dependencies = [ "assert_cmd", "async-trait", - "clap 3.2.20", + "clap", "collectives-polkadot-runtime", "contracts-rococo-runtime", "cumulus-client-cli", @@ -9443,7 +9433,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#dc22e48e1da70b84fb7b8a1ffc2076cf1b6e1d99" dependencies = [ "chrono", - "clap 3.2.20", + "clap", "fdlimit", "futures", "hex", @@ -10571,16 +10561,6 @@ dependencies = [ "serde_derive", ] -[[package]] -name = "serde_cbor" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5" -dependencies = [ - "half", - "serde", -] - [[package]] name = "serde_derive" version = "1.0.144" @@ -12133,15 +12113,6 @@ dependencies = [ "sp-runtime", ] -[[package]] -name = "textwrap" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" -dependencies = [ - "unicode-width", -] - [[package]] name = "textwrap" version = "0.15.0" @@ -12554,7 +12525,7 @@ name = "try-runtime-cli" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#dc22e48e1da70b84fb7b8a1ffc2076cf1b6e1d99" dependencies = [ - "clap 3.2.20", + "clap", "frame-try-runtime", "jsonrpsee", "log", diff --git a/test/service/Cargo.toml b/test/service/Cargo.toml index 60f155523a2..95c56e26438 100644 --- a/test/service/Cargo.toml +++ b/test/service/Cargo.toml @@ -12,7 +12,7 @@ path = "src/main.rs" async-trait = "0.1.57" clap = { version = "3.2.20", features = ["derive", "deprecated"] } codec = { package = "parity-scale-codec", version = "3.0.0" } -criterion = { version = "0.3.6", features = [ "async_tokio" ] } +criterion = { version = "0.4.0", features = [ "async_tokio" ] } jsonrpsee = { version = "0.15.1", features = ["server"] } rand = "0.8.5" serde = { version = "1.0.144", features = ["derive"] }