mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 01:41:09 +00:00
Switch to latest impl-trait-for-tuples (#8082)
Switches to the latest version everywhere now, as I fixed the problems in the crate ;)
This commit is contained in:
@@ -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.2.0"
|
||||
impl-trait-for-tuples = "0.2.1"
|
||||
|
||||
[dev-dependencies]
|
||||
sp-core = { version = "2.0.0", path = "../../primitives/core" }
|
||||
|
||||
@@ -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"
|
||||
impl-trait-for-tuples = "0.2.1"
|
||||
|
||||
[dev-dependencies]
|
||||
sp-application-crypto = { version = "2.0.0", path = "../../primitives/application-crypto" }
|
||||
|
||||
@@ -258,10 +258,8 @@ pub trait SessionHandler<ValidatorId> {
|
||||
}
|
||||
|
||||
#[impl_trait_for_tuples::impl_for_tuples(1, 30)]
|
||||
#[tuple_types_no_default_trait_bound]
|
||||
#[tuple_types_custom_trait_bound(OneSessionHandler<AId>)]
|
||||
impl<AId> SessionHandler<AId> for Tuple {
|
||||
for_tuples!( where #( Tuple: OneSessionHandler<AId> )* );
|
||||
|
||||
for_tuples!(
|
||||
const KEY_TYPE_IDS: &'static [KeyTypeId] = &[ #( <Tuple::Key as RuntimeAppPublic>::ID ),* ];
|
||||
);
|
||||
|
||||
@@ -30,7 +30,7 @@ paste = "1.0"
|
||||
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.2.0"
|
||||
impl-trait-for-tuples = "0.2.1"
|
||||
smallvec = "1.4.1"
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@@ -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.1", default-features = false, path = "../support" }
|
||||
impl-trait-for-tuples = "0.2.0"
|
||||
impl-trait-for-tuples = "0.2.1"
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.3.3"
|
||||
|
||||
@@ -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.2.0"
|
||||
impl-trait-for-tuples = "0.2.1"
|
||||
|
||||
[dev-dependencies]
|
||||
sp-io ={ version = "2.0.0", path = "../../primitives/io" }
|
||||
|
||||
@@ -20,7 +20,7 @@ sp-runtime = { version = "2.0.0", default-features = false, path = "../../primit
|
||||
frame-support = { version = "2.0.0", default-features = false, path = "../support" }
|
||||
frame-system = { version = "2.0.0", default-features = false, path = "../system" }
|
||||
pallet-balances = { version = "2.0.0", default-features = false, path = "../balances" }
|
||||
impl-trait-for-tuples = "0.2.0"
|
||||
impl-trait-for-tuples = "0.2.1"
|
||||
|
||||
frame-benchmarking = { version = "2.0.0", default-features = false, path = "../benchmarking", optional = true }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user