diff --git a/Cargo.lock b/Cargo.lock index 3d5f70c9a7..f0031ca25b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -572,22 +572,34 @@ version = "0.19.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8942c8d352ae1838c9dda0b0ca2ab657696ef2232a20147cf1b30ae1a9cb4321" dependencies = [ - "funty", + "funty 1.1.0", "radium 0.5.3", "tap", - "wyz", + "wyz 0.2.0", ] [[package]] name = "bitvec" -version = "0.20.1" +version = "0.20.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5011ffc90248764d7005b0e10c7294f5aa1bd87d9dd7248f4ad475b347c294d" +checksum = "7774144344a4faa177370406a7ff5f1da24303817368584c6206c8303eb07848" dependencies = [ - "funty", + "funty 1.1.0", "radium 0.6.2", "tap", - "wyz", + "wyz 0.2.0", +] + +[[package]] +name = "bitvec" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1489fcb93a5bb47da0462ca93ad252ad6af2145cce58d10d46a83931ba9f016b" +dependencies = [ + "funty 2.0.0", + "radium 0.7.0", + "tap", + "wyz 0.5.0", ] [[package]] @@ -742,7 +754,7 @@ dependencies = [ name = "bp-messages" version = "0.1.0" dependencies = [ - "bitvec 0.20.1", + "bitvec 0.20.4", "bp-runtime", "frame-support", "frame-system", @@ -2216,6 +2228,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" +[[package]] +name = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + [[package]] name = "futures" version = "0.1.29" @@ -3132,7 +3150,7 @@ name = "kusama-runtime" version = "0.9.12" dependencies = [ "beefy-primitives", - "bitvec 0.20.1", + "bitvec 1.0.0", "frame-benchmarking", "frame-election-provider-support", "frame-executive", @@ -4438,7 +4456,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7413f999671bd4745a7b624bd370a569fb6bc574b23c83a3c5ed2e453f3d5e2" dependencies = [ "bitvec 0.19.5", - "funty", + "funty 1.1.0", "memchr", "version_check", ] @@ -4811,7 +4829,7 @@ dependencies = [ name = "pallet-bridge-messages" version = "0.1.0" dependencies = [ - "bitvec 0.20.1", + "bitvec 0.20.4", "bp-message-dispatch", "bp-messages", "bp-rialto", @@ -5492,7 +5510,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "373b1a4c1338d9cd3d1fa53b3a11bdab5ab6bd80a20f7f7becd76953ae2be909" dependencies = [ "arrayvec 0.7.0", - "bitvec 0.20.1", + "bitvec 0.20.4", "byte-slice-cast", "impl-trait-for-tuples", "parity-scale-codec-derive", @@ -5830,7 +5848,7 @@ name = "polkadot-availability-bitfield-distribution" version = "0.9.12" dependencies = [ "assert_matches", - "bitvec 0.20.1", + "bitvec 1.0.0", "env_logger 0.9.0", "futures 0.3.17", "log", @@ -6104,7 +6122,7 @@ name = "polkadot-node-core-approval-voting" version = "0.9.12" dependencies = [ "assert_matches", - "bitvec 0.20.1", + "bitvec 1.0.0", "derive_more", "futures 0.3.17", "futures-timer 3.0.2", @@ -6140,7 +6158,7 @@ name = "polkadot-node-core-av-store" version = "0.9.12" dependencies = [ "assert_matches", - "bitvec 0.20.1", + "bitvec 1.0.0", "env_logger 0.9.0", "futures 0.3.17", "futures-timer 3.0.2", @@ -6167,7 +6185,7 @@ name = "polkadot-node-core-backing" version = "0.9.12" dependencies = [ "assert_matches", - "bitvec 0.20.1", + "bitvec 1.0.0", "futures 0.3.17", "polkadot-erasure-coding", "polkadot-node-primitives", @@ -6267,7 +6285,7 @@ name = "polkadot-node-core-dispute-coordinator" version = "0.9.12" dependencies = [ "assert_matches", - "bitvec 0.20.1", + "bitvec 1.0.0", "derive_more", "futures 0.3.17", "kvdb", @@ -6322,7 +6340,7 @@ dependencies = [ name = "polkadot-node-core-provisioner" version = "0.9.12" dependencies = [ - "bitvec 0.20.1", + "bitvec 1.0.0", "futures 0.3.17", "futures-timer 3.0.2", "polkadot-node-subsystem", @@ -6601,7 +6619,7 @@ dependencies = [ name = "polkadot-primitives" version = "0.9.12" dependencies = [ - "bitvec 0.20.1", + "bitvec 1.0.0", "frame-system", "hex-literal", "parity-scale-codec", @@ -6661,7 +6679,7 @@ name = "polkadot-runtime" version = "0.9.12" dependencies = [ "beefy-primitives", - "bitvec 0.20.1", + "bitvec 1.0.0", "frame-benchmarking", "frame-election-provider-support", "frame-executive", @@ -6743,7 +6761,7 @@ name = "polkadot-runtime-common" version = "0.9.12" dependencies = [ "beefy-primitives", - "bitvec 0.20.1", + "bitvec 1.0.0", "frame-benchmarking", "frame-election-provider-support", "frame-support", @@ -6793,7 +6811,7 @@ name = "polkadot-runtime-parachains" version = "0.9.12" dependencies = [ "bitflags", - "bitvec 0.20.1", + "bitvec 1.0.0", "derive_more", "frame-benchmarking", "frame-support", @@ -7074,7 +7092,7 @@ name = "polkadot-test-runtime" version = "0.9.12" dependencies = [ "beefy-primitives", - "bitvec 0.20.1", + "bitvec 1.0.0", "frame-election-provider-support", "frame-executive", "frame-support", @@ -7513,6 +7531,12 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "643f8f41a8ebc4c5dc4515c82bb8abd397b527fc20fd681b7c011c2aee5d44fb" +[[package]] +name = "radium" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" + [[package]] name = "rand" version = "0.7.3" @@ -9004,7 +9028,7 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c55b744399c25532d63a0d2789b109df8d46fc93752d46b0782991a931a782f" dependencies = [ - "bitvec 0.20.1", + "bitvec 0.20.4", "cfg-if 1.0.0", "derive_more", "parity-scale-codec", @@ -11554,7 +11578,7 @@ name = "westend-runtime" version = "0.9.12" dependencies = [ "beefy-primitives", - "bitvec 0.20.1", + "bitvec 1.0.0", "frame-benchmarking", "frame-election-provider-support", "frame-executive", @@ -11720,6 +11744,15 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" +[[package]] +name = "wyz" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30b31594f29d27036c383b53b59ed3476874d518f0efb151b27a4c275141390e" +dependencies = [ + "tap", +] + [[package]] name = "x25519-dalek" version = "1.1.0" diff --git a/node/core/approval-voting/Cargo.toml b/node/core/approval-voting/Cargo.toml index 35c57bf0fe..9aa316336b 100644 --- a/node/core/approval-voting/Cargo.toml +++ b/node/core/approval-voting/Cargo.toml @@ -9,7 +9,7 @@ futures = "0.3.17" futures-timer = "3.0.2" parity-scale-codec = { version = "2.3.1", default-features = false, features = ["bit-vec", "derive"] } tracing = "0.1.29" -bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } lru = "0.7" merlin = "2.0" schnorrkel = "0.9.1" diff --git a/node/core/av-store/Cargo.toml b/node/core/av-store/Cargo.toml index c6a2d3a766..707e99940f 100644 --- a/node/core/av-store/Cargo.toml +++ b/node/core/av-store/Cargo.toml @@ -10,7 +10,7 @@ futures-timer = "3.0.2" kvdb = "0.10.0" thiserror = "1.0.30" tracing = "0.1.29" -bitvec = "0.20.1" +bitvec = "1.0.0" parity-scale-codec = { version = "2.3.1", features = ["derive"] } erasure = { package = "polkadot-erasure-coding", path = "../../../erasure-coding" } diff --git a/node/core/backing/Cargo.toml b/node/core/backing/Cargo.toml index b43d7b93ea..8d183873ef 100644 --- a/node/core/backing/Cargo.toml +++ b/node/core/backing/Cargo.toml @@ -13,7 +13,7 @@ polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsys polkadot-node-subsystem-util = { path = "../../subsystem-util" } erasure-coding = { package = "polkadot-erasure-coding", path = "../../../erasure-coding" } statement-table = { package = "polkadot-statement-table", path = "../../../statement-table" } -bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } tracing = "0.1.29" thiserror = "1.0.30" diff --git a/node/core/dispute-coordinator/Cargo.toml b/node/core/dispute-coordinator/Cargo.toml index 747b06ec0c..42b8209789 100644 --- a/node/core/dispute-coordinator/Cargo.toml +++ b/node/core/dispute-coordinator/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Parity Technologies "] edition = "2018" [dependencies] -bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } futures = "0.3.17" tracing = "0.1.29" parity-scale-codec = "2" diff --git a/node/core/provisioner/Cargo.toml b/node/core/provisioner/Cargo.toml index bc057e8762..f1739f015c 100644 --- a/node/core/provisioner/Cargo.toml +++ b/node/core/provisioner/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Parity Technologies "] edition = "2018" [dependencies] -bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } futures = "0.3.17" tracing = "0.1.29" thiserror = "1.0.30" diff --git a/node/network/bitfield-distribution/Cargo.toml b/node/network/bitfield-distribution/Cargo.toml index 8c5ff49a8a..5dc7cc68a6 100644 --- a/node/network/bitfield-distribution/Cargo.toml +++ b/node/network/bitfield-distribution/Cargo.toml @@ -14,7 +14,7 @@ polkadot-node-network-protocol = { path = "../../network/protocol" } [dev-dependencies] polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index c84c0f8f77..8f9b5c5408 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -24,7 +24,7 @@ runtime_primitives = { package = "sp-runtime", git = "https://github.com/parityt polkadot-parachain = { path = "../parachain", default-features = false } polkadot-core-primitives = { path = "../core-primitives", default-features = false } trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } hex-literal = "0.3.3" parity-util-mem = { version = "0.10.0", default-features = false, optional = true } diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 38b4092c6f..d8e86de469 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" [dependencies] impl-trait-for-tuples = "0.2.0" -bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } parity-scale-codec = { version = "2.3.1", default-features = false, features = ["derive"] } log = { version = "0.4.13", default-features = false } rustc-hex = { version = "2.1.0", default-features = false } diff --git a/runtime/kusama/Cargo.toml b/runtime/kusama/Cargo.toml index cdd949aeb4..bcc54d63a9 100644 --- a/runtime/kusama/Cargo.toml +++ b/runtime/kusama/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" build = "build.rs" [dependencies] -bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } parity-scale-codec = { version = "2.3.1", default-features = false, features = ["derive", "max-encoded-len"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } log = { version = "0.4.14", default-features = false } diff --git a/runtime/parachains/Cargo.toml b/runtime/parachains/Cargo.toml index da5e695b71..38ca0f9c04 100644 --- a/runtime/parachains/Cargo.toml +++ b/runtime/parachains/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Parity Technologies "] edition = "2018" [dependencies] -bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } parity-scale-codec = { version = "2.3.1", default-features = false, features = ["derive"] } log = { version = "0.4.14", default-features = false } rustc-hex = { version = "2.1.0", default-features = false } diff --git a/runtime/polkadot/Cargo.toml b/runtime/polkadot/Cargo.toml index 10a9fecaea..508003b76b 100644 --- a/runtime/polkadot/Cargo.toml +++ b/runtime/polkadot/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" build = "build.rs" [dependencies] -bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } parity-scale-codec = { version = "2.3.1", default-features = false, features = ["derive", "max-encoded-len"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } log = { version = "0.4.14", default-features = false } diff --git a/runtime/test-runtime/Cargo.toml b/runtime/test-runtime/Cargo.toml index 8c303041bd..2a96857cd8 100644 --- a/runtime/test-runtime/Cargo.toml +++ b/runtime/test-runtime/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" build = "build.rs" [dependencies] -bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } parity-scale-codec = { version = "2.3.1", default-features = false, features = ["derive"] } log = { version = "0.4.14", default-features = false } rustc-hex = { version = "2.1.0", default-features = false } diff --git a/runtime/westend/Cargo.toml b/runtime/westend/Cargo.toml index 65a4359944..7716419428 100644 --- a/runtime/westend/Cargo.toml +++ b/runtime/westend/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" build = "build.rs" [dependencies] -bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } +bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } parity-scale-codec = { version = "2.3.1", default-features = false, features = ["derive", "max-encoded-len"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } log = { version = "0.4.14", default-features = false }