diff --git a/Cargo.lock b/Cargo.lock index 1c453da9d3045..a81f71b8dc7cb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -834,6 +834,12 @@ dependencies = [ "rustc_version 0.2.3", ] +[[package]] +name = "cast" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" + [[package]] name = "cc" version = "1.0.71" @@ -1284,12 +1290,12 @@ dependencies = [ [[package]] name = "criterion" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1604dafd25fba2fe2d5895a9da139f8dc9b319a5fe5354ca137cbbce4e178d10" +checksum = "b01d6de93b2b6c65e17c634a26653a29d107b3c98c607c765bf38d041531cd8f" dependencies = [ "atty", - "cast", + "cast 0.3.0", "clap 2.34.0", "criterion-plot", "csv", @@ -1316,7 +1322,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d00996de9f2f7559f7f4dc286073197f83e92256a59ed395f9aac01fe717da57" dependencies = [ - "cast", + "cast 0.2.3", "itertools", ] diff --git a/bin/node/cli/Cargo.toml b/bin/node/cli/Cargo.toml index 89ca3ebb45576..4f7e106428233 100644 --- a/bin/node/cli/Cargo.toml +++ b/bin/node/cli/Cargo.toml @@ -129,7 +129,7 @@ regex = "1.5.5" platforms = "2.0" async-std = { version = "1.11.0", features = ["attributes"] } soketto = "0.7.1" -criterion = { version = "0.3.5", features = ["async_tokio"] } +criterion = { version = "0.3.6", features = ["async_tokio"] } tokio = { version = "1.17.0", features = ["macros", "time", "parking_lot"] } wait-timeout = "0.2" remote-externalities = { path = "../../../utils/frame/remote-externalities" } diff --git a/bin/node/executor/Cargo.toml b/bin/node/executor/Cargo.toml index 71865783da8ac..69a71e3df28d4 100644 --- a/bin/node/executor/Cargo.toml +++ b/bin/node/executor/Cargo.toml @@ -25,7 +25,7 @@ sp-tracing = { version = "5.0.0", path = "../../../primitives/tracing" } sp-trie = { version = "6.0.0", path = "../../../primitives/trie" } [dev-dependencies] -criterion = "0.3.0" +criterion = "0.3.6" futures = "0.3.21" wat = "1.0" frame-support = { version = "4.0.0-dev", path = "../../../frame/support" } diff --git a/client/db/Cargo.toml b/client/db/Cargo.toml index 7bfba997767f2..909c804c7656e 100644 --- a/client/db/Cargo.toml +++ b/client/db/Cargo.toml @@ -35,7 +35,7 @@ sp-state-machine = { version = "0.12.0", path = "../../primitives/state-machine" sp-trie = { version = "6.0.0", path = "../../primitives/trie" } [dev-dependencies] -criterion = "0.3.3" +criterion = "0.3.6" kvdb-rocksdb = "0.15.1" rand = "0.8.4" tempfile = "3.1.0" diff --git a/frame/system/Cargo.toml b/frame/system/Cargo.toml index 3429c6546c7fd..c53b384d844d5 100644 --- a/frame/system/Cargo.toml +++ b/frame/system/Cargo.toml @@ -25,7 +25,7 @@ sp-std = { version = "4.0.0", default-features = false, path = "../../primitives sp-version = { version = "5.0.0", default-features = false, path = "../../primitives/version" } [dev-dependencies] -criterion = "0.3.3" +criterion = "0.3.6" sp-externalities = { version = "0.12.0", path = "../../primitives/externalities" } substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" } diff --git a/primitives/api/test/Cargo.toml b/primitives/api/test/Cargo.toml index 25000072c88a9..facc60c39df5f 100644 --- a/primitives/api/test/Cargo.toml +++ b/primitives/api/test/Cargo.toml @@ -25,7 +25,7 @@ trybuild = "1.0.60" rustversion = "1.0.6" [dev-dependencies] -criterion = "0.3.0" +criterion = "0.3.6" futures = "0.3.21" log = "0.4.17" sp-core = { version = "6.0.0", path = "../../core" } diff --git a/primitives/core/Cargo.toml b/primitives/core/Cargo.toml index 2cdfd04e942d7..74fc04aa2cb30 100644 --- a/primitives/core/Cargo.toml +++ b/primitives/core/Cargo.toml @@ -65,7 +65,7 @@ sp-runtime-interface = { version = "6.0.0", default-features = false, path = ".. sp-serializer = { version = "4.0.0-dev", path = "../serializer" } hex-literal = "0.3.4" rand = "0.7.2" -criterion = "0.3.3" +criterion = "0.3.6" serde_json = "1.0" sp-core-hashing-proc-macro = { version = "5.0.0", path = "./hashing/proc-macro" } diff --git a/primitives/trie/Cargo.toml b/primitives/trie/Cargo.toml index 84b97a9f88da8..2f3ae5c0da499 100644 --- a/primitives/trie/Cargo.toml +++ b/primitives/trie/Cargo.toml @@ -36,7 +36,7 @@ sp-core = { version = "6.0.0", default-features = false, path = "../core" } sp-std = { version = "4.0.0", default-features = false, path = "../std" } [dev-dependencies] -criterion = "0.3.3" +criterion = "0.3.6" hex-literal = "0.3.4" trie-bench = "0.31.0" trie-standardmap = "0.15.2"