From 5155db8cdecf9e915b7be6d4fc09b463b38acf7b Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Fri, 7 Oct 2022 10:45:57 +0200 Subject: [PATCH] feat: cleanup duplicate deps --- Cargo.lock | 282 +++++++++++--------------- crates/assets/Cargo.toml | 2 +- nodes/parachain/Cargo.toml | 8 - nodes/standalone/Cargo.toml | 7 - pallets/attestation/Cargo.toml | 2 - pallets/ctype/Cargo.toml | 4 - pallets/delegation/Cargo.toml | 3 - pallets/did/Cargo.toml | 4 - pallets/pallet-inflation/Cargo.toml | 5 - pallets/pallet-web3-names/Cargo.toml | 2 - pallets/public-credentials/Cargo.toml | 4 - rpc/did/Cargo.toml | 2 - rpc/did/runtime-api/Cargo.toml | 4 - runtimes/clone/Cargo.toml | 10 +- runtimes/peregrine/Cargo.toml | 8 - runtimes/spiritnet/Cargo.toml | 8 - runtimes/standalone/Cargo.toml | 5 - support/Cargo.toml | 6 - 18 files changed, 116 insertions(+), 250 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 739317646a..66120a3483 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -446,7 +446,7 @@ dependencies = [ "async-trait", "beefy-primitives", "fnv", - "futures 0.3.24", + "futures", "futures-timer", "hex", "log", @@ -481,7 +481,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc dependencies = [ "beefy-gadget", "beefy-primitives", - "futures 0.3.24", + "futures", "jsonrpsee", "log", "parity-scale-codec", @@ -999,26 +999,21 @@ dependencies = [ "pallet-xcm", "parachain-info", "parity-scale-codec", - "polkadot-parachain", "public-credentials", "public-credentials-runtime-api", "runtime-common", "scale-info", - "serde", - "smallvec", "sp-api", "sp-block-builder", "sp-consensus-aura", "sp-core", "sp-inherents", - "sp-io", "sp-offchain", "sp-runtime", "sp-session", "sp-std", "sp-transaction-pool", "sp-version", - "static_assertions", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -1366,7 +1361,6 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "serde", "sp-core", "sp-io", "sp-keystore", @@ -1410,7 +1404,7 @@ dependencies = [ "cumulus-client-network", "cumulus-primitives-core", "cumulus-relay-chain-interface", - "futures 0.3.24", + "futures", "parity-scale-codec", "parking_lot 0.12.1", "polkadot-node-primitives", @@ -1433,7 +1427,7 @@ dependencies = [ "async-trait", "cumulus-client-consensus-common", "cumulus-primitives-core", - "futures 0.3.24", + "futures", "parity-scale-codec", "sc-client-api", "sc-consensus", @@ -1462,7 +1456,7 @@ dependencies = [ "async-trait", "cumulus-relay-chain-interface", "dyn-clone", - "futures 0.3.24", + "futures", "parity-scale-codec", "polkadot-primitives", "sc-client-api", @@ -1483,7 +1477,7 @@ dependencies = [ "async-trait", "cumulus-relay-chain-interface", "derive_more", - "futures 0.3.24", + "futures", "futures-timer", "parity-scale-codec", "parking_lot 0.12.1", @@ -1507,7 +1501,7 @@ source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa9 dependencies = [ "cumulus-primitives-core", "cumulus-relay-chain-interface", - "futures 0.3.24", + "futures", "futures-timer", "parity-scale-codec", "polkadot-node-primitives", @@ -1741,7 +1735,7 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.29#2fa95572487cfcf8dbe6941bf93545c39d47f784" dependencies = [ "cumulus-primitives-core", - "futures 0.3.24", + "futures", "parity-scale-codec", "sp-inherents", "sp-std", @@ -1776,7 +1770,7 @@ dependencies = [ "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", - "futures 0.3.24", + "futures", "futures-timer", "polkadot-cli", "polkadot-client", @@ -1805,7 +1799,7 @@ dependencies = [ "async-trait", "cumulus-primitives-core", "derive_more", - "futures 0.3.24", + "futures", "jsonrpsee-core", "parity-scale-codec", "parking_lot 0.12.1", @@ -1829,7 +1823,7 @@ dependencies = [ "backoff", "cumulus-primitives-core", "cumulus-relay-chain-interface", - "futures 0.3.24", + "futures", "futures-timer", "jsonrpsee", "parity-scale-codec", @@ -1942,7 +1936,6 @@ dependencies = [ "parity-scale-codec", "public-credentials", "scale-info", - "serde", "sp-core", "sp-io", "sp-keystore", @@ -1993,7 +1986,6 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "hex", "kilt-support", "log", "pallet-balances", @@ -2017,7 +2009,6 @@ dependencies = [ "parity-scale-codec", "sp-api", "sp-blockchain", - "sp-core", "sp-runtime", ] @@ -2027,12 +2018,10 @@ version = "1.7.4" dependencies = [ "did", "kilt-support", - "pallet-did-lookup", "parity-scale-codec", "scale-info", "serde", "sp-api", - "sp-runtime", "sp-std", ] @@ -2323,7 +2312,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5" dependencies = [ - "futures 0.3.24", + "futures", ] [[package]] @@ -2445,7 +2434,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b22349c6a11563a202d95772a68e0fcf56119e74ea8a2a19cf2301460fcd0df5" dependencies = [ "either", - "futures 0.3.24", + "futures", "futures-timer", "log", "num-traits", @@ -2797,12 +2786,6 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" -[[package]] -name = "futures" -version = "0.1.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678" - [[package]] name = "futures" version = "0.3.24" @@ -2913,7 +2896,6 @@ version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44fb6cb1be61cc1d2e43b262516aafcf63b241cffdb1d3fa115f91d9c7b09c90" dependencies = [ - "futures 0.1.31", "futures-channel", "futures-core", "futures-io", @@ -3314,7 +3296,7 @@ dependencies = [ "async-io", "core-foundation", "fnv", - "futures 0.3.24", + "futures", "if-addrs", "ipnet", "log", @@ -3646,7 +3628,6 @@ dependencies = [ "clap", "clone-runtime", "cumulus-client-cli", - "cumulus-client-collator", "cumulus-client-consensus-aura", "cumulus-client-consensus-common", "cumulus-client-network", @@ -3656,11 +3637,9 @@ dependencies = [ "cumulus-relay-chain-inprocess-interface", "cumulus-relay-chain-interface", "cumulus-relay-chain-rpc-interface", - "derive_more", "did-rpc", "frame-benchmarking", "frame-benchmarking-cli", - "futures 0.3.24", "hex-literal", "jsonrpsee", "log", @@ -3668,10 +3647,8 @@ dependencies = [ "pallet-did-lookup", "pallet-transaction-payment-rpc", "parity-scale-codec", - "parking_lot 0.12.1", "peregrine-runtime", "polkadot-cli", - "polkadot-parachain", "polkadot-primitives", "polkadot-service", "public-credentials", @@ -3683,9 +3660,7 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-executor", - "sc-keystore", "sc-network", - "sc-rpc", "sc-rpc-api", "sc-service", "sc-sysinfo", @@ -3701,7 +3676,6 @@ dependencies = [ "sp-consensus", "sp-consensus-aura", "sp-core", - "sp-inherents", "sp-keystore", "sp-offchain", "sp-runtime", @@ -3720,18 +3694,15 @@ dependencies = [ name = "kilt-support" version = "1.7.4" dependencies = [ - "cumulus-primitives-core", "frame-support", "frame-system", "parity-scale-codec", - "polkadot-core-primitives", "scale-info", "serde", "serde_json", "sp-core", "sp-runtime", "sp-std", - "xcm", ] [[package]] @@ -3938,7 +3909,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81327106887e42d004fbdab1fef93675be2e2e07c1b95fce45e2cc813485611d" dependencies = [ "bytes", - "futures 0.3.24", + "futures", "futures-timer", "getrandom 0.2.7", "instant", @@ -3982,7 +3953,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4decc51f3573653a9f4ecacb31b1b922dd20c25a6322bb15318ec04287ec46f9" dependencies = [ "async-trait", - "futures 0.3.24", + "futures", "futures-timer", "instant", "libp2p-core", @@ -4005,7 +3976,7 @@ dependencies = [ "ed25519-dalek", "either", "fnv", - "futures 0.3.24", + "futures", "futures-timer", "instant", "lazy_static", @@ -4036,7 +4007,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d0183dc2a3da1fbbf85e5b6cf51217f55b14f5daea0c455a9536eef646bfec71" dependencies = [ "flate2", - "futures 0.3.24", + "futures", "libp2p-core", ] @@ -4047,7 +4018,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6cbf54723250fa5d521383be789bf60efdabe6bacfb443f87da261019a49b4b5" dependencies = [ "async-std-resolver", - "futures 0.3.24", + "futures", "libp2p-core", "log", "parking_lot 0.12.1", @@ -4063,7 +4034,7 @@ checksum = "98a4b6ffd53e355775d24b76f583fdda54b3284806f678499b57913adb94f231" dependencies = [ "cuckoofilter", "fnv", - "futures 0.3.24", + "futures", "libp2p-core", "libp2p-swarm", "log", @@ -4084,7 +4055,7 @@ dependencies = [ "byteorder", "bytes", "fnv", - "futures 0.3.24", + "futures", "hex_fmt", "instant", "libp2p-core", @@ -4108,7 +4079,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c50b585518f8efd06f93ac2f976bd672e17cdac794644b3117edd078e96bda06" dependencies = [ "asynchronous-codec", - "futures 0.3.24", + "futures", "futures-timer", "libp2p-core", "libp2p-swarm", @@ -4133,7 +4104,7 @@ dependencies = [ "bytes", "either", "fnv", - "futures 0.3.24", + "futures", "futures-timer", "instant", "libp2p-core", @@ -4159,7 +4130,7 @@ dependencies = [ "async-io", "data-encoding", "dns-parser", - "futures 0.3.24", + "futures", "if-watch", "lazy_static", "libp2p-core", @@ -4195,7 +4166,7 @@ checksum = "61fd1b20638ec209c5075dfb2e8ce6a7ea4ec3cd3ad7b77f7a477c06d53322e2" dependencies = [ "asynchronous-codec", "bytes", - "futures 0.3.24", + "futures", "libp2p-core", "log", "nohash-hasher", @@ -4213,7 +4184,7 @@ checksum = "762408cb5d84b49a600422d7f9a42c18012d8da6ebcd570f9a4a4290ba41fb6f" dependencies = [ "bytes", "curve25519-dalek 3.2.0", - "futures 0.3.24", + "futures", "lazy_static", "libp2p-core", "log", @@ -4233,7 +4204,7 @@ version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "100a6934ae1dbf8a693a4e7dd1d730fd60b774dafc45688ed63b554497c6c925" dependencies = [ - "futures 0.3.24", + "futures", "futures-timer", "instant", "libp2p-core", @@ -4251,7 +4222,7 @@ checksum = "be27bf0820a6238a4e06365b096d428271cce85a129cf16f2fe9eb1610c4df86" dependencies = [ "asynchronous-codec", "bytes", - "futures 0.3.24", + "futures", "libp2p-core", "log", "prost", @@ -4266,7 +4237,7 @@ version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f1a458bbda880107b5b36fcb9b5a1ef0c329685da0e203ed692a8ebe64cc92c" dependencies = [ - "futures 0.3.24", + "futures", "log", "pin-project", "rand 0.7.3", @@ -4283,7 +4254,7 @@ dependencies = [ "asynchronous-codec", "bytes", "either", - "futures 0.3.24", + "futures", "futures-timer", "instant", "libp2p-core", @@ -4308,7 +4279,7 @@ checksum = "9511c9672ba33284838e349623319c8cad2d18cfad243ae46c6b7e8a2982ea4e" dependencies = [ "asynchronous-codec", "bimap", - "futures 0.3.24", + "futures", "futures-timer", "instant", "libp2p-core", @@ -4331,7 +4302,7 @@ checksum = "508a189e2795d892c8f5c1fa1e9e0b1845d32d7b0b249dbf7b05b18811361843" dependencies = [ "async-trait", "bytes", - "futures 0.3.24", + "futures", "instant", "libp2p-core", "libp2p-swarm", @@ -4349,7 +4320,7 @@ checksum = "95ac5be6c2de2d1ff3f7693fda6faf8a827b1f3e808202277783fea9f527d114" dependencies = [ "either", "fnv", - "futures 0.3.24", + "futures", "futures-timer", "instant", "libp2p-core", @@ -4378,7 +4349,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a6771dc19aa3c65d6af9a8c65222bfc8fcd446630ddca487acd161fa6096f3b" dependencies = [ "async-io", - "futures 0.3.24", + "futures", "futures-timer", "if-watch", "ipnet", @@ -4395,7 +4366,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d125e3e5f0d58f3c6ac21815b20cf4b6a88b8db9dc26368ea821838f4161fd4d" dependencies = [ "async-std", - "futures 0.3.24", + "futures", "libp2p-core", "log", ] @@ -4406,7 +4377,7 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec894790eec3c1608f8d1a8a0bdf0dbeb79ed4de2dce964222011c2896dfa05a" dependencies = [ - "futures 0.3.24", + "futures", "js-sys", "libp2p-core", "parity-send-wrapper", @@ -4421,7 +4392,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9808e57e81be76ff841c106b4c5974fb4d41a233a7bdd2afbf1687ac6def3818" dependencies = [ "either", - "futures 0.3.24", + "futures", "futures-rustls", "libp2p-core", "log", @@ -4439,7 +4410,7 @@ version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6dea686217a06072033dc025631932810e2f6ad784e4fafa42e27d311c7a81c" dependencies = [ - "futures 0.3.24", + "futures", "libp2p-core", "parking_lot 0.12.1", "thiserror", @@ -4642,9 +4613,7 @@ dependencies = [ "frame-benchmarking", "frame-benchmarking-cli", "frame-system", - "futures 0.3.24", "jsonrpsee", - "log", "mashnet-node-runtime", "node-common", "pallet-did-lookup", @@ -4661,15 +4630,11 @@ dependencies = [ "sc-executor", "sc-finality-grandpa", "sc-keystore", - "sc-network", - "sc-rpc", "sc-rpc-api", "sc-service", "sc-telemetry", "sc-transaction-pool", "sc-transaction-pool-api", - "serde", - "serde_json", "sp-api", "sp-block-builder", "sp-blockchain", @@ -4681,7 +4646,6 @@ dependencies = [ "sp-keyring", "sp-runtime", "sp-timestamp", - "sp-transaction-pool", "substrate-build-script-utils", "substrate-frame-rpc-system", "try-runtime-cli", @@ -4692,7 +4656,6 @@ name = "mashnet-node-runtime" version = "1.7.4" dependencies = [ "attestation", - "bitflags", "ctype", "delegation", "did", @@ -4727,13 +4690,11 @@ dependencies = [ "public-credentials-runtime-api", "runtime-common", "scale-info", - "serde", "sp-api", "sp-block-builder", "sp-consensus-aura", "sp-core", "sp-inherents", - "sp-io", "sp-offchain", "sp-runtime", "sp-session", @@ -4859,7 +4820,7 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532" dependencies = [ - "futures 0.3.24", + "futures", "rand 0.8.5", "thrift", ] @@ -4970,7 +4931,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "363a84be6453a70e63513660f4894ef815daf88e3356bffcda9ca27d810ce83b" dependencies = [ "bytes", - "futures 0.3.24", + "futures", "log", "pin-project", "smallvec", @@ -5066,7 +5027,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "65b4b14489ab424703c092062176d52ba55485a89c076b4f9db05092b7223aa6" dependencies = [ "bytes", - "futures 0.3.24", + "futures", "log", "netlink-packet-core", "netlink-sys", @@ -5082,7 +5043,7 @@ checksum = "92b654097027250401127914afb37cb1f311df6610a9891ff07a757e94199027" dependencies = [ "async-io", "bytes", - "futures 0.3.24", + "futures", "libc", "log", ] @@ -5265,7 +5226,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#9407 dependencies = [ "async-trait", "dyn-clonable", - "futures 0.3.24", + "futures", "futures-timer", "orchestra-proc-macro", "pin-project", @@ -5727,7 +5688,6 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "serde", "sp-core", "sp-io", "sp-runtime", @@ -6207,7 +6167,6 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "serde", "sp-core", "sp-io", "sp-keystore", @@ -6526,26 +6485,21 @@ dependencies = [ "parachain-info", "parachain-staking", "parity-scale-codec", - "polkadot-parachain", "public-credentials", "public-credentials-runtime-api", "runtime-common", "scale-info", - "serde", - "smallvec", "sp-api", "sp-block-builder", "sp-consensus-aura", "sp-core", "sp-inherents", - "sp-io", "sp-offchain", "sp-runtime", "sp-session", "sp-std", "sp-transaction-pool", "sp-version", - "static_assertions", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -6661,7 +6615,7 @@ name = "polkadot-approval-distribution" version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ - "futures 0.3.24", + "futures", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -6676,7 +6630,7 @@ name = "polkadot-availability-bitfield-distribution" version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ - "futures 0.3.24", + "futures", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -6692,7 +6646,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#9407 dependencies = [ "derive_more", "fatality", - "futures 0.3.24", + "futures", "lru 0.7.8", "parity-scale-codec", "polkadot-erasure-coding", @@ -6714,7 +6668,7 @@ version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ "fatality", - "futures 0.3.24", + "futures", "lru 0.7.8", "parity-scale-codec", "polkadot-erasure-coding", @@ -6736,7 +6690,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#9407 dependencies = [ "clap", "frame-benchmarking-cli", - "futures 0.3.24", + "futures", "log", "polkadot-client", "polkadot-node-core-pvf", @@ -6802,7 +6756,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#9407 dependencies = [ "always-assert", "fatality", - "futures 0.3.24", + "futures", "futures-timer", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -6836,7 +6790,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#9407 dependencies = [ "derive_more", "fatality", - "futures 0.3.24", + "futures", "lru 0.7.8", "parity-scale-codec", "polkadot-erasure-coding", @@ -6871,7 +6825,7 @@ name = "polkadot-gossip-support" version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ - "futures 0.3.24", + "futures", "futures-timer", "polkadot-node-network-protocol", "polkadot-node-subsystem", @@ -6895,7 +6849,7 @@ dependencies = [ "async-trait", "bytes", "fatality", - "futures 0.3.24", + "futures", "parity-scale-codec", "parking_lot 0.12.1", "polkadot-node-network-protocol", @@ -6915,7 +6869,7 @@ name = "polkadot-node-collation-generation" version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ - "futures 0.3.24", + "futures", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-primitives", @@ -6935,7 +6889,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#9407 dependencies = [ "bitvec", "derive_more", - "futures 0.3.24", + "futures", "futures-timer", "kvdb", "lru 0.7.8", @@ -6963,7 +6917,7 @@ version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ "bitvec", - "futures 0.3.24", + "futures", "futures-timer", "kvdb", "parity-scale-codec", @@ -6984,7 +6938,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#9407 dependencies = [ "bitvec", "fatality", - "futures 0.3.24", + "futures", "polkadot-erasure-coding", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -7001,7 +6955,7 @@ name = "polkadot-node-core-bitfield-signing" version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ - "futures 0.3.24", + "futures", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", @@ -7017,7 +6971,7 @@ version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ "async-trait", - "futures 0.3.24", + "futures", "parity-scale-codec", "polkadot-node-core-pvf", "polkadot-node-primitives", @@ -7034,7 +6988,7 @@ name = "polkadot-node-core-chain-api" version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ - "futures 0.3.24", + "futures", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", @@ -7049,7 +7003,7 @@ name = "polkadot-node-core-chain-selection" version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ - "futures 0.3.24", + "futures", "futures-timer", "kvdb", "parity-scale-codec", @@ -7067,7 +7021,7 @@ version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ "fatality", - "futures 0.3.24", + "futures", "kvdb", "lru 0.7.8", "parity-scale-codec", @@ -7086,7 +7040,7 @@ version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ "async-trait", - "futures 0.3.24", + "futures", "futures-timer", "polkadot-node-subsystem", "polkadot-primitives", @@ -7104,7 +7058,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#9407 dependencies = [ "bitvec", "fatality", - "futures 0.3.24", + "futures", "futures-timer", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -7124,7 +7078,7 @@ dependencies = [ "assert_matches", "async-process", "async-std", - "futures 0.3.24", + "futures", "futures-timer", "parity-scale-codec", "pin-project", @@ -7152,7 +7106,7 @@ name = "polkadot-node-core-pvf-checker" version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ - "futures 0.3.24", + "futures", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -7168,7 +7122,7 @@ name = "polkadot-node-core-runtime-api" version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ - "futures 0.3.24", + "futures", "memory-lru", "parity-util-mem", "polkadot-node-subsystem", @@ -7203,7 +7157,7 @@ version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ "bs58", - "futures 0.3.24", + "futures", "futures-timer", "log", "parity-scale-codec", @@ -7224,7 +7178,7 @@ dependencies = [ "async-trait", "derive_more", "fatality", - "futures 0.3.24", + "futures", "hex", "parity-scale-codec", "polkadot-node-jaeger", @@ -7244,7 +7198,7 @@ version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ "bounded-vec", - "futures 0.3.24", + "futures", "parity-scale-codec", "polkadot-parachain", "polkadot-primitives", @@ -7277,7 +7231,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#9407 dependencies = [ "async-trait", "derive_more", - "futures 0.3.24", + "futures", "orchestra", "polkadot-node-jaeger", "polkadot-node-network-protocol", @@ -7301,7 +7255,7 @@ dependencies = [ "async-trait", "derive_more", "fatality", - "futures 0.3.24", + "futures", "itertools", "kvdb", "lru 0.7.8", @@ -7332,7 +7286,7 @@ version = "0.9.29" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#94078b44fb6c9767bf60ffcaaa3be40681be5a76" dependencies = [ "async-trait", - "futures 0.3.24", + "futures", "futures-timer", "lru 0.7.8", "orchestra", @@ -7655,7 +7609,7 @@ dependencies = [ "beefy-primitives", "frame-support", "frame-system-rpc-runtime-api", - "futures 0.3.24", + "futures", "hex-literal", "kusama-runtime", "kvdb", @@ -7756,7 +7710,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.29#9407 dependencies = [ "arrayvec 0.5.2", "fatality", - "futures 0.3.24", + "futures", "indexmap", "parity-scale-codec", "polkadot-node-network-protocol", @@ -7844,7 +7798,7 @@ dependencies = [ "coarsetime", "crossbeam-queue", "derive_more", - "futures 0.3.24", + "futures", "futures-timer", "nanorand", "thiserror", @@ -8013,14 +7967,11 @@ dependencies = [ name = "public-credentials" version = "1.7.2" dependencies = [ - "base58", "ctype", "frame-benchmarking", "frame-support", "frame-system", - "hex", "kilt-support", - "log", "pallet-balances", "parity-scale-codec", "scale-info", @@ -8487,7 +8438,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "322c53fd76a18698f1c27381d58091de3a043d356aa5bd0d510608b565f469a0" dependencies = [ "async-global-executor", - "futures 0.3.24", + "futures", "log", "netlink-packet-route", "netlink-proto", @@ -8635,7 +8586,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04" dependencies = [ - "futures 0.3.24", + "futures", "pin-project", "static_assertions", ] @@ -8690,7 +8641,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ "async-trait", - "futures 0.3.24", + "futures", "futures-timer", "ip_network", "libp2p", @@ -8716,7 +8667,7 @@ name = "sc-basic-authorship" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ - "futures 0.3.24", + "futures", "futures-timer", "log", "parity-scale-codec", @@ -8786,7 +8737,7 @@ dependencies = [ "chrono", "clap", "fdlimit", - "futures 0.3.24", + "futures", "hex", "libp2p", "log", @@ -8823,7 +8774,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ "fnv", - "futures 0.3.24", + "futures", "hash-db", "log", "parity-scale-codec", @@ -8876,7 +8827,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ "async-trait", - "futures 0.3.24", + "futures", "futures-timer", "libp2p", "log", @@ -8900,7 +8851,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ "async-trait", - "futures 0.3.24", + "futures", "log", "parity-scale-codec", "sc-block-builder", @@ -8930,7 +8881,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc dependencies = [ "async-trait", "fork-tree", - "futures 0.3.24", + "futures", "log", "merlin", "num-bigint", @@ -8970,7 +8921,7 @@ name = "sc-consensus-babe-rpc" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ - "futures 0.3.24", + "futures", "jsonrpsee", "sc-consensus-babe", "sc-consensus-epochs", @@ -9006,7 +8957,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ "async-trait", - "futures 0.3.24", + "futures", "futures-timer", "log", "parity-scale-codec", @@ -9114,7 +9065,7 @@ dependencies = [ "dyn-clone", "finality-grandpa", "fork-tree", - "futures 0.3.24", + "futures", "futures-timer", "hex", "log", @@ -9151,7 +9102,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ "finality-grandpa", - "futures 0.3.24", + "futures", "jsonrpsee", "log", "parity-scale-codec", @@ -9172,7 +9123,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ "ansi_term", - "futures 0.3.24", + "futures", "futures-timer", "log", "parity-util-mem", @@ -9211,7 +9162,7 @@ dependencies = [ "either", "fnv", "fork-tree", - "futures 0.3.24", + "futures", "futures-timer", "hex", "ip_network", @@ -9255,7 +9206,7 @@ dependencies = [ "async-trait", "bitflags", "bytes", - "futures 0.3.24", + "futures", "libp2p", "parity-scale-codec", "prost-build", @@ -9276,7 +9227,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ "ahash", - "futures 0.3.24", + "futures", "futures-timer", "libp2p", "log", @@ -9293,7 +9244,7 @@ name = "sc-network-light" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ - "futures 0.3.24", + "futures", "hex", "libp2p", "log", @@ -9315,7 +9266,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ "fork-tree", - "futures 0.3.24", + "futures", "hex", "libp2p", "log", @@ -9344,7 +9295,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc dependencies = [ "bytes", "fnv", - "futures 0.3.24", + "futures", "futures-timer", "hex", "hyper", @@ -9372,7 +9323,7 @@ name = "sc-peerset" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ - "futures 0.3.24", + "futures", "libp2p", "log", "sc-utils", @@ -9394,7 +9345,7 @@ name = "sc-rpc" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ - "futures 0.3.24", + "futures", "hash-db", "jsonrpsee", "log", @@ -9424,7 +9375,7 @@ name = "sc-rpc-api" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ - "futures 0.3.24", + "futures", "jsonrpsee", "log", "parity-scale-codec", @@ -9447,7 +9398,7 @@ name = "sc-rpc-server" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ - "futures 0.3.24", + "futures", "jsonrpsee", "log", "serde_json", @@ -9463,7 +9414,7 @@ dependencies = [ "async-trait", "directories", "exit-future", - "futures 0.3.24", + "futures", "futures-timer", "hash-db", "jsonrpsee", @@ -9560,7 +9511,7 @@ name = "sc-sysinfo" version = "6.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ - "futures 0.3.24", + "futures", "libc", "log", "rand 0.7.3", @@ -9580,7 +9531,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ "chrono", - "futures 0.3.24", + "futures", "libp2p", "log", "parking_lot 0.12.1", @@ -9639,7 +9590,7 @@ name = "sc-transaction-pool" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ - "futures 0.3.24", + "futures", "futures-timer", "linked-hash-map", "log", @@ -9665,7 +9616,7 @@ name = "sc-transaction-pool-api" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ - "futures 0.3.24", + "futures", "log", "serde", "sp-blockchain", @@ -9678,7 +9629,7 @@ name = "sc-utils" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ - "futures 0.3.24", + "futures", "futures-timer", "lazy_static", "log", @@ -10113,7 +10064,7 @@ dependencies = [ "base64", "bytes", "flate2", - "futures 0.3.24", + "futures", "httparse", "log", "rand 0.8.5", @@ -10220,7 +10171,7 @@ name = "sp-blockchain" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ - "futures 0.3.24", + "futures", "log", "lru 0.7.8", "parity-scale-codec", @@ -10239,7 +10190,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ "async-trait", - "futures 0.3.24", + "futures", "futures-timer", "log", "parity-scale-codec", @@ -10331,7 +10282,7 @@ dependencies = [ "byteorder", "dyn-clonable", "ed25519-zebra", - "futures 0.3.24", + "futures", "hash-db", "hash256-std-hasher", "hex", @@ -10459,7 +10410,7 @@ version = "6.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ "bytes", - "futures 0.3.24", + "futures", "hash-db", "libsecp256k1", "log", @@ -10496,7 +10447,7 @@ version = "0.12.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ "async-trait", - "futures 0.3.24", + "futures", "merlin", "parity-scale-codec", "parking_lot 0.12.1", @@ -10896,26 +10847,21 @@ dependencies = [ "parachain-info", "parachain-staking", "parity-scale-codec", - "polkadot-parachain", "public-credentials", "public-credentials-runtime-api", "runtime-common", "scale-info", - "serde", - "smallvec", "sp-api", "sp-block-builder", "sp-consensus-aura", "sp-core", "sp-inherents", - "sp-io", "sp-offchain", "sp-runtime", "sp-session", "sp-std", "sp-transaction-pool", "sp-version", - "static_assertions", "substrate-wasm-builder", "xcm", "xcm-builder", @@ -11042,7 +10988,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe" dependencies = [ "frame-system-rpc-runtime-api", - "futures 0.3.24", + "futures", "jsonrpsee", "log", "parity-scale-codec", @@ -11898,7 +11844,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" dependencies = [ - "futures 0.3.24", + "futures", "js-sys", "parking_lot 0.11.2", "pin-utils", @@ -12480,7 +12426,7 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5" dependencies = [ - "futures 0.3.24", + "futures", "log", "nohash-hasher", "parking_lot 0.12.1", diff --git a/crates/assets/Cargo.toml b/crates/assets/Cargo.toml index 95eafd9232..2acc4a72a1 100644 --- a/crates/assets/Cargo.toml +++ b/crates/assets/Cargo.toml @@ -9,7 +9,7 @@ version = "1.7.2" [dependencies] # External dependencies base58 = {version = "0.2.0", default-features = false} -hex = {version = "0.4.3", default-features = false} +hex = {version = "0.4.3", default-features = false, features = ["alloc"]} hex-literal = {version = "0.3.4", default-features = false} log = {version = "0.4.17", default-features = false} diff --git a/nodes/parachain/Cargo.toml b/nodes/parachain/Cargo.toml index c34534827f..4a5332c52d 100644 --- a/nodes/parachain/Cargo.toml +++ b/nodes/parachain/Cargo.toml @@ -29,12 +29,9 @@ spiritnet-runtime = {path = "../../runtimes/spiritnet"} # External dependencies clap = {version = "3.2.20", features = ["derive"]} codec = {package = "parity-scale-codec", version = "3.1.5"} -derive_more = "0.99.17" -futures = {version = "0.3.21", features = ["compat"]} hex-literal = "0.3.4" jsonrpsee = {version = "0.15.1", features = ["server"]} log = "0.4.17" -parking_lot = "0.12.1" serde = {version = "1.0.144", features = ["derive"]} serde_json = "1.0.83" @@ -47,9 +44,7 @@ sc-cli = {git = "https://github.com/paritytech/substrate", features = ["wasmtime sc-client-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sc-consensus = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sc-executor = {git = "https://github.com/paritytech/substrate", features = ["wasmtime"], branch = "polkadot-v0.9.29"} -sc-keystore = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sc-network = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} -sc-rpc = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sc-rpc-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sc-service = {git = "https://github.com/paritytech/substrate", features = ["wasmtime"], branch = "polkadot-v0.9.29"} sc-sysinfo = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} @@ -63,7 +58,6 @@ sp-blockchain = {git = "https://github.com/paritytech/substrate", branch = "polk sp-consensus = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sp-consensus-aura = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sp-core = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} -sp-inherents = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sp-keystore = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sp-offchain = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} @@ -74,7 +68,6 @@ substrate-prometheus-endpoint = {git = "https://github.com/paritytech/substrate" # Cumulus dependencies cumulus-client-cli = {git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.29"} -cumulus-client-collator = {git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.29"} cumulus-client-consensus-aura = {git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.29"} cumulus-client-consensus-common = {git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.29"} cumulus-client-network = {git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.29"} @@ -87,7 +80,6 @@ cumulus-relay-chain-rpc-interface = {git = "https://github.com/paritytech/cumulu # Polkadot dependencies polkadot-cli = {git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.29"} -polkadot-parachain = {git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.29"} polkadot-primitives = {git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.29"} polkadot-service = {git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.29"} xcm = {git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.29"} diff --git a/nodes/standalone/Cargo.toml b/nodes/standalone/Cargo.toml index 61feb9d608..379d24a41e 100644 --- a/nodes/standalone/Cargo.toml +++ b/nodes/standalone/Cargo.toml @@ -25,10 +25,6 @@ runtime-common = {path = "../../runtimes/common"} # External dependencies clap = {version = "3.2.20", features = ["derive"]} -futures = "0.3.21" -log = "0.4.17" -serde = {version = "1.0.144", features = ["derive"]} -serde_json = "1.0.83" # Substrate dependencies frame-system = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} @@ -42,7 +38,6 @@ sc-executor = {git = "https://github.com/paritytech/substrate", branch = "polkad sc-finality-grandpa = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sp-keyring = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sc-keystore = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} -sc-network = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sc-service = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sc-telemetry = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sc-transaction-pool = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} @@ -57,13 +52,11 @@ sp-finality-grandpa = {git = "https://github.com/paritytech/substrate", branch = sp-inherents = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sp-timestamp = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} -sp-transaction-pool = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} # RPC related dependencies frame-rpc-system = {package = "substrate-frame-rpc-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} jsonrpsee = { version = "0.15.1", features = ["server"] } pallet-transaction-payment-rpc = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} -sc-rpc = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} sc-rpc-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} # Benchmarking diff --git a/pallets/attestation/Cargo.toml b/pallets/attestation/Cargo.toml index 7c74c4d874..d4319e04c1 100644 --- a/pallets/attestation/Cargo.toml +++ b/pallets/attestation/Cargo.toml @@ -26,7 +26,6 @@ sp-keystore = {branch = "polkadot-v0.9.29", git = "https://github.com/paritytech codec = {package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive"]} log = "0.4.17" scale-info = {version = "2.1.1", default-features = false, features = ["derive"]} -serde = {version = "1.0.144", optional = true} # Internal dependencies ctype = {default-features = false, path = "../ctype"} @@ -47,7 +46,6 @@ sp-std = {branch = "polkadot-v0.9.29", default-features = false, git = "https:// default = ["std"] mock = [ "pallet-balances", - "serde", "sp-core", "sp-io", "sp-keystore", diff --git a/pallets/ctype/Cargo.toml b/pallets/ctype/Cargo.toml index 7c220e9cda..03ea169041 100644 --- a/pallets/ctype/Cargo.toml +++ b/pallets/ctype/Cargo.toml @@ -15,7 +15,6 @@ substrate-wasm-builder = {git = "https://github.com/paritytech/substrate", branc [dev-dependencies] kilt-support = {features = ["mock"], path = "../../support"} pallet-balances = {branch = "polkadot-v0.9.29", git = "https://github.com/paritytech/substrate"} -serde = "1.0.144" sp-core = {branch = "polkadot-v0.9.29", git = "https://github.com/paritytech/substrate"} sp-keystore = {branch = "polkadot-v0.9.29", git = "https://github.com/paritytech/substrate"} @@ -23,8 +22,6 @@ sp-keystore = {branch = "polkadot-v0.9.29", git = "https://github.com/paritytech codec = {package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive"]} log = "0.4.17" scale-info = {version = "2.1.1", default-features = false, features = ["derive"]} -serde = {version = "1.0.144", optional = true} - # Internal dependencies kilt-support = {default-features = false, path = "../../support"} @@ -43,7 +40,6 @@ sp-std = {branch = "polkadot-v0.9.29", default-features = false, git = "https:// default = ["std"] mock = [ "pallet-balances", - "serde", "sp-core", "sp-io", "sp-keystore", diff --git a/pallets/delegation/Cargo.toml b/pallets/delegation/Cargo.toml index 71b81be282..8ec3005fa6 100644 --- a/pallets/delegation/Cargo.toml +++ b/pallets/delegation/Cargo.toml @@ -19,7 +19,6 @@ kilt-support = {features = ["mock"], path = "../../support"} # External dependencies env_logger = "0.9.0" -serde = "1.0.144" # Substrate dependencies pallet-balances = {branch = "polkadot-v0.9.29", git = "https://github.com/paritytech/substrate"} @@ -38,7 +37,6 @@ bitflags = {default-features = false, version = "1.3.2"} codec = {package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive"]} log = "0.4.17" scale-info = {version = "2.1.1", default-features = false, features = ["derive"]} -serde = {version = "1.0.144", optional = true} # Substrate dependencies frame-benchmarking = {branch = "polkadot-v0.9.29", default-features = false, git = "https://github.com/paritytech/substrate", optional = true} @@ -55,7 +53,6 @@ sp-std = {branch = "polkadot-v0.9.29", default-features = false, git = "https:// default = ["std"] mock = [ "pallet-balances", - "serde", "sp-core", "sp-io", "sp-keystore", diff --git a/pallets/did/Cargo.toml b/pallets/did/Cargo.toml index e0fa05655d..422782fd8d 100644 --- a/pallets/did/Cargo.toml +++ b/pallets/did/Cargo.toml @@ -26,9 +26,6 @@ sp-keystore = {branch = "polkadot-v0.9.29", git = "https://github.com/paritytech # Internal dependencies ctype = {path = "../ctype", optional = true} kilt-support = {default-features = false, path = "../../support"} - -# External dependencies -hex = {default-features = false, features = ["alloc"], version = "0.4.3"} log = "0.4.17" serde = {version = "1.0.142", optional = true, features = ["derive"]} @@ -66,7 +63,6 @@ std = [ "ctype/std", "frame-support/std", "frame-system/std", - "hex/std", "kilt-support/std", "log/std", "pallet-balances/std", diff --git a/pallets/pallet-inflation/Cargo.toml b/pallets/pallet-inflation/Cargo.toml index da8bf6b2bb..3e980d6f34 100644 --- a/pallets/pallet-inflation/Cargo.toml +++ b/pallets/pallet-inflation/Cargo.toml @@ -10,8 +10,6 @@ version = "1.7.4" targets = ["x86_64-unknown-linux-gnu"] [dev-dependencies] -serde = "1.0.144" - pallet-balances = {branch = "polkadot-v0.9.29", git = "https://github.com/paritytech/substrate"} sp-core = {branch = "polkadot-v0.9.29", git = "https://github.com/paritytech/substrate"} sp-io = {branch = "polkadot-v0.9.29", git = "https://github.com/paritytech/substrate"} @@ -19,7 +17,6 @@ sp-io = {branch = "polkadot-v0.9.29", git = "https://github.com/paritytech/subst [dependencies] codec = {package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive"]} scale-info = {version = "2.1.1", default-features = false, features = ["derive"]} -serde = {version = "1.0.144", optional = true} # benchmarking frame-benchmarking = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29", default-features = false, optional = true} @@ -40,11 +37,9 @@ runtime-benchmarks = [ ] std = [ - "codec/std", "frame-benchmarking/std", "frame-support/std", "frame-system/std", - "serde", "scale-info/std", "sp-runtime/std", "sp-std/std", diff --git a/pallets/pallet-web3-names/Cargo.toml b/pallets/pallet-web3-names/Cargo.toml index 9ac9c40200..5a9316bab1 100644 --- a/pallets/pallet-web3-names/Cargo.toml +++ b/pallets/pallet-web3-names/Cargo.toml @@ -20,7 +20,6 @@ sp-keystore = {branch = "polkadot-v0.9.29", git = "https://github.com/paritytech [dependencies] codec = {package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive"]} scale-info = {version = "2.1.1", default-features = false, features = ["derive"]} -serde = {version = "1.0.142", optional = true} # KILT kilt-support = {default-features = false, path = "../../support"} @@ -47,7 +46,6 @@ runtime-benchmarks = [ ] std = [ - "serde", "codec/std", "frame-benchmarking/std", "frame-support/std", diff --git a/pallets/public-credentials/Cargo.toml b/pallets/public-credentials/Cargo.toml index 1ce0efb72b..aaeb9e8eca 100644 --- a/pallets/public-credentials/Cargo.toml +++ b/pallets/public-credentials/Cargo.toml @@ -16,9 +16,6 @@ sp-keystore = {branch = "polkadot-v0.9.29", git = "https://github.com/paritytech [dependencies] codec = {package = "parity-scale-codec", version = "3.1.2", default-features = false, features = ["derive"]} -base58 = {version = "0.2.0"} -hex = {default-features = false, version = "0.4.3"} -log = "0.4.17" scale-info = {version = "2.1.1", default-features = false, features = ["derive"]} # Internal dependencies @@ -46,7 +43,6 @@ runtime-benchmarks = [ ] std = [ "codec/std", - "log/std", "scale-info/std", "ctype/std", diff --git a/rpc/did/Cargo.toml b/rpc/did/Cargo.toml index b352459745..2a581618c5 100644 --- a/rpc/did/Cargo.toml +++ b/rpc/did/Cargo.toml @@ -13,7 +13,6 @@ did-rpc-runtime-api = {version = "1.7.2", path = "./runtime-api"} sp-api = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-blockchain = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} -sp-core = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-runtime = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} [features] @@ -22,6 +21,5 @@ std = [ "codec/std", "did-rpc-runtime-api/std", "sp-api/std", - "sp-core/std", "sp-runtime/std", ] diff --git a/rpc/did/runtime-api/Cargo.toml b/rpc/did/runtime-api/Cargo.toml index 33abfc46bf..43aefcdcc9 100644 --- a/rpc/did/runtime-api/Cargo.toml +++ b/rpc/did/runtime-api/Cargo.toml @@ -11,11 +11,9 @@ scale-info = { version = "2.1.1", default-features = false, features = ["derive" serde = { version = "1.0.142", optional = true, features = ["derive"] } sp-api = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} -sp-runtime = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-std = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} did = {path = "../../../pallets/did", default-features = false} -pallet-did-lookup = {path = "../../../pallets/pallet-did-lookup", default-features = false} kilt-support = {path = "../../../support", default-features = false} [features] @@ -24,10 +22,8 @@ std = [ "serde", "codec/std", "sp-api/std", - "sp-runtime/std", "sp-std/std", "scale-info/std", "did/std", "kilt-support/std", - "pallet-did-lookup/std", ] diff --git a/runtimes/clone/Cargo.toml b/runtimes/clone/Cargo.toml index 5686c2a358..65d32e0632 100644 --- a/runtimes/clone/Cargo.toml +++ b/runtimes/clone/Cargo.toml @@ -11,11 +11,8 @@ substrate-wasm-builder = {git = "https://github.com/paritytech/substrate", branc codec = {package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive"]} log = "0.4.17" scale-info = {version = "2.1.1", default-features = false, features = ["derive"]} -smallvec = "1.8.0" -static_assertions = "1.1.0" hex-literal = {version = "0.3.4", optional = true} -serde = {version = "1.0.137", optional = true, features = ["derive"]} # RPC did-rpc-runtime-api = {path = "../../rpc/did/runtime-api", default-features = false} @@ -34,7 +31,6 @@ sp-block-builder = {git = "https://github.com/paritytech/substrate", default-fea sp-consensus-aura = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-core = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-inherents = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} -sp-io = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-offchain = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-runtime = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-session = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} @@ -70,7 +66,6 @@ parachain-info = {git = "https://github.com/paritytech/cumulus", default-feature # Polkadot dependencies pallet-xcm = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.29"} -polkadot-parachain = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.29"} xcm = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.29"} xcm-builder = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.29"} xcm-executor = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.29"} @@ -137,18 +132,15 @@ std = [ "pallet-utility/std", "pallet-xcm/std", "parachain-info/std", - "polkadot-parachain/std", "public-credentials/std", "public-credentials-runtime-api/std", "runtime-common/std", "scale-info/std", - "serde", "sp-api/std", "sp-block-builder/std", "sp-consensus-aura/std", "sp-core/std", "sp-inherents/std", - "sp-io/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", @@ -183,4 +175,4 @@ try-runtime = [ "pallet-xcm/try-runtime", "parachain-info/try-runtime", "runtime-common/try-runtime", -] \ No newline at end of file +] diff --git a/runtimes/peregrine/Cargo.toml b/runtimes/peregrine/Cargo.toml index 8e022f892e..74d58991b3 100644 --- a/runtimes/peregrine/Cargo.toml +++ b/runtimes/peregrine/Cargo.toml @@ -11,11 +11,8 @@ substrate-wasm-builder = {git = "https://github.com/paritytech/substrate", branc codec = {package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive"]} log = "0.4.17" scale-info = {version = "2.1.1", default-features = false, features = ["derive"]} -smallvec = "1.8.0" -static_assertions = "1.1.0" hex-literal = {version = "0.3.4", optional = true} -serde = {version = "1.0.144", optional = true, features = ["derive"]} # RPC did-rpc-runtime-api = {path = "../../rpc/did/runtime-api", default-features = false} @@ -42,7 +39,6 @@ sp-block-builder = {git = "https://github.com/paritytech/substrate", default-fea sp-consensus-aura = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-core = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-inherents = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} -sp-io = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-offchain = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-runtime = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-session = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} @@ -87,7 +83,6 @@ parachain-info = {git = "https://github.com/paritytech/cumulus", default-feature # Polkadot dependencies pallet-xcm = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.29"} -polkadot-parachain = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.29"} xcm = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.29"} xcm-builder = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.29"} xcm-executor = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.29"} @@ -192,18 +187,15 @@ std = [ "pallet-xcm/std", "parachain-info/std", "parachain-staking/std", - "polkadot-parachain/std", "public-credentials/std", "public-credentials-runtime-api/std", "runtime-common/std", "scale-info/std", - "serde", "sp-api/std", "sp-block-builder/std", "sp-consensus-aura/std", "sp-core/std", "sp-inherents/std", - "sp-io/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", diff --git a/runtimes/spiritnet/Cargo.toml b/runtimes/spiritnet/Cargo.toml index 6af3f14063..2b34985663 100644 --- a/runtimes/spiritnet/Cargo.toml +++ b/runtimes/spiritnet/Cargo.toml @@ -11,11 +11,8 @@ substrate-wasm-builder = {git = "https://github.com/paritytech/substrate", branc codec = {package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive"]} log = "0.4.17" scale-info = {version = "2.1.1", default-features = false, features = ["derive"]} -smallvec = "1.8.0" -static_assertions = "1.1.0" hex-literal = {version = "0.3.4", optional = true} -serde = {version = "1.0.144", optional = true, features = ["derive"]} # RPC did-rpc-runtime-api = {path = "../../rpc/did/runtime-api", default-features = false} @@ -42,7 +39,6 @@ sp-block-builder = {git = "https://github.com/paritytech/substrate", default-fea sp-consensus-aura = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-core = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-inherents = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} -sp-io = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-offchain = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-runtime = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} sp-session = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29"} @@ -86,7 +82,6 @@ parachain-info = {git = "https://github.com/paritytech/cumulus", default-feature # Polkadot dependencies pallet-xcm = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.29"} -polkadot-parachain = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.29"} xcm = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.29"} xcm-builder = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.29"} xcm-executor = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.29"} @@ -189,18 +184,15 @@ std = [ "pallet-xcm/std", "parachain-info/std", "parachain-staking/std", - "polkadot-parachain/std", "public-credentials/std", "public-credentials-runtime-api/std", "runtime-common/std", "scale-info/std", - "serde", "sp-api/std", "sp-block-builder/std", "sp-consensus-aura/std", "sp-core/std", "sp-inherents/std", - "sp-io/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", diff --git a/runtimes/standalone/Cargo.toml b/runtimes/standalone/Cargo.toml index 784e6c84be..ff88cfb4d6 100644 --- a/runtimes/standalone/Cargo.toml +++ b/runtimes/standalone/Cargo.toml @@ -8,13 +8,11 @@ version = "1.7.4" substrate-wasm-builder = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29"} [dependencies] -bitflags = {default-features = false, version = "1.3.2"} codec = {package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive"]} log = "0.4.17" scale-info = {version = "2.1.1", default-features = false, features = ["derive"]} hex-literal = {version = "0.3.4", optional = true} -serde = {version = "1.0.144", optional = true, features = ["derive"]} # kilt functionality attestation = {default-features = false, path = "../../pallets/attestation"} @@ -58,7 +56,6 @@ sp-block-builder = {branch = "polkadot-v0.9.29", default-features = false, git = sp-consensus-aura = {branch = "polkadot-v0.9.29", default-features = false, git = "https://github.com/paritytech/substrate"} sp-core = {branch = "polkadot-v0.9.29", default-features = false, git = "https://github.com/paritytech/substrate"} sp-inherents = {branch = "polkadot-v0.9.29", default-features = false, git = "https://github.com/paritytech/substrate"} -sp-io = {branch = "polkadot-v0.9.29", default-features = false, git = "https://github.com/paritytech/substrate"} sp-offchain = {branch = "polkadot-v0.9.29", default-features = false, git = "https://github.com/paritytech/substrate"} sp-runtime = {branch = "polkadot-v0.9.29", default-features = false, git = "https://github.com/paritytech/substrate"} sp-session = {branch = "polkadot-v0.9.29", default-features = false, git = "https://github.com/paritytech/substrate"} @@ -130,13 +127,11 @@ std = [ "public-credentials-runtime-api/std", "runtime-common/std", "scale-info/std", - "serde", "sp-api/std", "sp-block-builder/std", "sp-consensus-aura/std", "sp-core/std", "sp-inherents/std", - "sp-io/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", diff --git a/support/Cargo.toml b/support/Cargo.toml index 60f50c91a8..8770d6686c 100644 --- a/support/Cargo.toml +++ b/support/Cargo.toml @@ -12,14 +12,11 @@ codec = {package = "parity-scale-codec", version = "3.1.5", default-features = f scale-info = {version = "2.1.1", default-features = false, features = ["derive"]} serde = {version = "1.0.142", optional = true, features = ["derive"]} -cumulus-primitives-core = {branch = "polkadot-v0.9.29", default-features = false, git = "https://github.com/paritytech/cumulus"} frame-support = {branch = "polkadot-v0.9.29", default-features = false, git = "https://github.com/paritytech/substrate"} frame-system = {branch = "polkadot-v0.9.29", default-features = false, git = "https://github.com/paritytech/substrate"} -polkadot-core-primitives = {branch = "release-v0.9.29", default-features = false, git = "https://github.com/paritytech/polkadot"} sp-core = {branch = "polkadot-v0.9.29", default-features = false, git = "https://github.com/paritytech/substrate"} sp-runtime = {branch = "polkadot-v0.9.29", default-features = false, git = "https://github.com/paritytech/substrate"} sp-std = {branch = "polkadot-v0.9.29", default-features = false, git = "https://github.com/paritytech/substrate"} -xcm = {branch = "release-v0.9.29", default-features = false, git = "https://github.com/paritytech/polkadot"} [dev-dependencies] serde_json = "1.0.83" @@ -37,16 +34,13 @@ runtime-benchmarks = [ ] std = [ "codec/std", - "cumulus-primitives-core/std", "frame-support/std", "frame-system/std", - "polkadot-core-primitives/std", "scale-info/std", "serde", "sp-core/std", "sp-runtime/std", "sp-std/std", - "xcm/std", ] try-runtime = [ "frame-support/try-runtime",