diff --git a/Cargo.lock b/Cargo.lock index 827bf3b99850e..5992eb41bbd49 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1659,7 +1659,7 @@ dependencies = [ "frame-metadata", "frame-support-procedural", "frame-system", - "impl-trait-for-tuples", + "impl-trait-for-tuples 0.2.2", "log", "once_cell", "parity-scale-codec", @@ -1735,7 +1735,7 @@ version = "2.0.0" dependencies = [ "criterion", "frame-support", - "impl-trait-for-tuples", + "impl-trait-for-tuples 0.2.2", "parity-scale-codec", "serde", "sp-core", @@ -2508,6 +2508,17 @@ dependencies = [ "syn", ] +[[package]] +name = "impl-trait-for-tuples" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "indexmap" version = "1.6.0" @@ -4384,7 +4395,7 @@ version = "2.0.0" dependencies = [ "frame-support", "frame-system", - "impl-trait-for-tuples", + "impl-trait-for-tuples 0.2.2", "parity-scale-codec", "sp-authorship", "sp-core", @@ -4902,7 +4913,7 @@ version = "2.0.0" dependencies = [ "frame-support", "frame-system", - "impl-trait-for-tuples", + "impl-trait-for-tuples 0.2.2", "lazy_static", "pallet-timestamp", "parity-scale-codec", @@ -5050,7 +5061,7 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "impl-trait-for-tuples", + "impl-trait-for-tuples 0.2.2", "parity-scale-codec", "serde", "sp-core", @@ -5252,7 +5263,7 @@ dependencies = [ "cfg-if 0.1.10", "ethereum-types", "hashbrown 0.8.2", - "impl-trait-for-tuples", + "impl-trait-for-tuples 0.1.3", "lru 0.5.3", "parity-util-mem-derive", "parking_lot 0.10.2", @@ -6450,7 +6461,7 @@ dependencies = [ name = "sc-chain-spec" version = "2.0.0" dependencies = [ - "impl-trait-for-tuples", + "impl-trait-for-tuples 0.2.2", "parity-scale-codec", "sc-chain-spec-derive", "sc-consensus-babe", @@ -8429,7 +8440,7 @@ version = "2.0.0" dependencies = [ "either", "hash256-std-hasher", - "impl-trait-for-tuples", + "impl-trait-for-tuples 0.2.2", "log", "parity-scale-codec", "parity-util-mem", @@ -8627,7 +8638,7 @@ dependencies = [ name = "sp-timestamp" version = "2.0.0" dependencies = [ - "impl-trait-for-tuples", + "impl-trait-for-tuples 0.2.2", "parity-scale-codec", "sp-api", "sp-inherents", @@ -8706,7 +8717,7 @@ dependencies = [ name = "sp-wasm-interface" version = "2.0.0" dependencies = [ - "impl-trait-for-tuples", + "impl-trait-for-tuples 0.2.2", "parity-scale-codec", "sp-std", "wasmi", diff --git a/client/chain-spec/Cargo.toml b/client/chain-spec/Cargo.toml index 79f14058aad6d..698616440c1a9 100644 --- a/client/chain-spec/Cargo.toml +++ b/client/chain-spec/Cargo.toml @@ -14,7 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] sc-chain-spec-derive = { version = "2.0.0", path = "./derive" } -impl-trait-for-tuples = "0.1.3" +impl-trait-for-tuples = "0.2.2" sc-network = { version = "0.8.0", path = "../network" } sp-core = { version = "2.0.0", path = "../../primitives/core" } serde = { version = "1.0.101", features = ["derive"] } diff --git a/frame/authorship/Cargo.toml b/frame/authorship/Cargo.toml index e8b6444583821..2d4b7375b075f 100644 --- a/frame/authorship/Cargo.toml +++ b/frame/authorship/Cargo.toml @@ -20,7 +20,7 @@ sp-std = { version = "2.0.0", default-features = false, path = "../../primitives sp-runtime = { version = "2.0.0", default-features = false, path = "../../primitives/runtime" } frame-support = { version = "2.0.0", default-features = false, path = "../support" } frame-system = { version = "2.0.0", default-features = false, path = "../system" } -impl-trait-for-tuples = "0.1.3" +impl-trait-for-tuples = "0.2.2" [dev-dependencies] sp-core = { version = "2.0.0", path = "../../primitives/core" } diff --git a/frame/session/Cargo.toml b/frame/session/Cargo.toml index ea3a3d3cdf7fa..1143ad75121d9 100644 --- a/frame/session/Cargo.toml +++ b/frame/session/Cargo.toml @@ -25,7 +25,7 @@ frame-support = { version = "2.0.0", default-features = false, path = "../suppor frame-system = { version = "2.0.0", default-features = false, path = "../system" } pallet-timestamp = { version = "2.0.0", default-features = false, path = "../timestamp" } sp-trie = { version = "2.0.0", optional = true, default-features = false, path = "../../primitives/trie" } -impl-trait-for-tuples = "0.1.3" +impl-trait-for-tuples = "0.2.2" [dev-dependencies] sp-application-crypto = { version = "2.0.0", path = "../../primitives/application-crypto" } diff --git a/frame/support/Cargo.toml b/frame/support/Cargo.toml index 1f7fe9a202538..b9f0ca28900f5 100644 --- a/frame/support/Cargo.toml +++ b/frame/support/Cargo.toml @@ -29,7 +29,7 @@ paste = "0.1.6" once_cell = { version = "1", default-features = false, optional = true } sp-state-machine = { version = "0.8.0", optional = true, path = "../../primitives/state-machine" } bitflags = "1.2" -impl-trait-for-tuples = "0.1.3" +impl-trait-for-tuples = "0.2.2" smallvec = "1.4.1" [dev-dependencies] diff --git a/frame/system/Cargo.toml b/frame/system/Cargo.toml index cebf761a907c7..eecf2e004b610 100644 --- a/frame/system/Cargo.toml +++ b/frame/system/Cargo.toml @@ -21,7 +21,7 @@ sp-io = { version = "2.0.0", path = "../../primitives/io", default-features = fa sp-runtime = { version = "2.0.0", default-features = false, path = "../../primitives/runtime" } sp-version = { version = "2.0.0", default-features = false, path = "../../primitives/version" } frame-support = { version = "2.0.0", default-features = false, path = "../support" } -impl-trait-for-tuples = "0.1.3" +impl-trait-for-tuples = "0.2.2" [dev-dependencies] criterion = "0.3.3" diff --git a/frame/timestamp/Cargo.toml b/frame/timestamp/Cargo.toml index 5a99c5d02c5af..ee91c3dcc3f7c 100644 --- a/frame/timestamp/Cargo.toml +++ b/frame/timestamp/Cargo.toml @@ -25,7 +25,7 @@ frame-benchmarking = { version = "2.0.0", default-features = false, path = "../b frame-support = { version = "2.0.0", default-features = false, path = "../support" } frame-system = { version = "2.0.0", default-features = false, path = "../system" } sp-timestamp = { version = "2.0.0", default-features = false, path = "../../primitives/timestamp" } -impl-trait-for-tuples = "0.1.3" +impl-trait-for-tuples = "0.2.2" [dev-dependencies] sp-io ={ version = "2.0.0", path = "../../primitives/io" } diff --git a/primitives/runtime/Cargo.toml b/primitives/runtime/Cargo.toml index 9c3286cd4750d..65b03802e5274 100644 --- a/primitives/runtime/Cargo.toml +++ b/primitives/runtime/Cargo.toml @@ -25,7 +25,7 @@ sp-io = { version = "2.0.0", default-features = false, path = "../io" } log = { version = "0.4.8", optional = true } paste = "0.1.6" rand = { version = "0.7.2", optional = true } -impl-trait-for-tuples = "0.1.3" +impl-trait-for-tuples = "0.2.2" parity-util-mem = { version = "0.7.0", default-features = false, features = ["primitive-types"] } hash256-std-hasher = { version = "0.15.2", default-features = false } either = { version = "1.5", default-features = false } diff --git a/primitives/timestamp/Cargo.toml b/primitives/timestamp/Cargo.toml index 79dae29102220..adcd8b0e3db9a 100644 --- a/primitives/timestamp/Cargo.toml +++ b/primitives/timestamp/Cargo.toml @@ -18,7 +18,7 @@ sp-std = { version = "2.0.0", default-features = false, path = "../std" } sp-runtime = { version = "2.0.0", default-features = false, path = "../runtime" } codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] } sp-inherents = { version = "2.0.0", default-features = false, path = "../inherents" } -impl-trait-for-tuples = "0.1.3" +impl-trait-for-tuples = "0.2.2" wasm-timer = { version = "0.2", optional = true } [features] diff --git a/primitives/wasm-interface/Cargo.toml b/primitives/wasm-interface/Cargo.toml index a85b6cd1d118a..678072f0265f4 100644 --- a/primitives/wasm-interface/Cargo.toml +++ b/primitives/wasm-interface/Cargo.toml @@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] wasmi = { version = "0.6.2", optional = true } -impl-trait-for-tuples = "0.1.2" +impl-trait-for-tuples = "0.2.2" sp-std = { version = "2.0.0", path = "../std", default-features = false } codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }