From 1724153f677d045cbbbad2db96589714d25d3ca1 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Tue, 27 Jun 2023 15:33:42 +0200 Subject: [PATCH] Remove unused dependencies (#14464) --- Cargo.lock | 87 ------------------- bin/node-template/node/Cargo.toml | 4 - bin/node/cli/Cargo.toml | 3 - bin/node/inspect/Cargo.toml | 1 - bin/node/primitives/Cargo.toml | 10 --- bin/node/testing/Cargo.toml | 1 - client/authority-discovery/Cargo.toml | 1 - client/cli/Cargo.toml | 1 - client/consensus/babe/Cargo.toml | 1 - client/consensus/beefy/Cargo.toml | 2 - client/network/Cargo.toml | 8 -- client/network/bitswap/Cargo.toml | 1 - client/network/common/Cargo.toml | 10 --- client/network/light/Cargo.toml | 1 - client/network/statement/Cargo.toml | 2 - client/network/test/Cargo.toml | 1 - client/offchain/Cargo.toml | 1 - client/service/Cargo.toml | 1 - client/service/test/Cargo.toml | 1 - client/statement-store/Cargo.toml | 5 -- client/storage-monitor/Cargo.toml | 2 - client/tracing/Cargo.toml | 1 - primitives/application-crypto/test/Cargo.toml | 1 - primitives/arithmetic/fuzzer/Cargo.toml | 2 - primitives/block-builder/Cargo.toml | 2 - primitives/consensus/aura/Cargo.toml | 2 - primitives/consensus/babe/Cargo.toml | 4 - primitives/core/hashing/Cargo.toml | 2 - primitives/core/hashing/proc-macro/Cargo.toml | 1 - primitives/inherents/Cargo.toml | 2 - primitives/io/Cargo.toml | 2 - primitives/keystore/Cargo.toml | 3 - primitives/npos-elections/fuzzer/Cargo.toml | 2 - .../test-wasm-deprecated/Cargo.toml | 2 - primitives/statement-store/Cargo.toml | 2 - primitives/timestamp/Cargo.toml | 4 - .../transaction-storage-proof/Cargo.toml | 2 - test-utils/cli/Cargo.toml | 1 - test-utils/runtime/Cargo.toml | 15 ---- test-utils/runtime/client/Cargo.toml | 2 - utils/build-script-utils/Cargo.toml | 1 - utils/frame/benchmarking-cli/Cargo.toml | 1 - .../rpc/state-trie-migration-rpc/Cargo.toml | 2 - utils/frame/try-runtime/cli/Cargo.toml | 1 - 44 files changed, 201 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 49cc265993aa0..d3c376952b7be 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2603,7 +2603,6 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-state-machine", - "sp-std", "sp-storage", "sp-trie", "thiserror", @@ -5301,14 +5300,12 @@ dependencies = [ "node-inspect", "node-primitives", "node-rpc", - "pallet-asset-conversion", "pallet-asset-conversion-tx-payment", "pallet-asset-tx-payment", "pallet-assets", "pallet-balances", "pallet-im-online", "pallet-timestamp", - "pallet-transaction-payment", "parity-scale-codec", "platforms", "rand 0.8.5", @@ -5358,7 +5355,6 @@ dependencies = [ "sp-runtime", "sp-timestamp", "sp-tracing", - "sp-transaction-pool", "sp-transaction-storage-proof", "substrate-build-script-utils", "substrate-cli-test-utils", @@ -5417,7 +5413,6 @@ dependencies = [ "parity-scale-codec", "sc-cli", "sc-client-api", - "sc-executor", "sc-service", "sp-blockchain", "sp-core", @@ -5429,10 +5424,6 @@ dependencies = [ name = "node-primitives" version = "2.0.0" dependencies = [ - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-application-crypto", "sp-core", "sp-runtime", ] @@ -5497,19 +5488,15 @@ dependencies = [ "sc-consensus-aura", "sc-consensus-grandpa", "sc-executor", - "sc-keystore", "sc-network", - "sc-rpc", "sc-rpc-api", "sc-service", - "sc-statement-store", "sc-telemetry", "sc-transaction-pool", "sc-transaction-pool-api", "sp-api", "sp-block-builder", "sp-blockchain", - "sp-consensus", "sp-consensus-aura", "sp-consensus-grandpa", "sp-core", @@ -5588,7 +5575,6 @@ dependencies = [ "pallet-asset-conversion-tx-payment", "pallet-asset-tx-payment", "pallet-assets", - "pallet-transaction-payment", "parity-scale-codec", "sc-block-builder", "sc-client-api", @@ -8853,7 +8839,6 @@ dependencies = [ "rand 0.8.5", "sc-client-api", "sc-network", - "sc-network-common", "sp-api", "sp-authority-discovery", "sp-blockchain", @@ -8956,7 +8941,6 @@ dependencies = [ "sc-client-db", "sc-keystore", "sc-network", - "sc-network-common", "sc-service", "sc-telemetry", "sc-tracing", @@ -9121,7 +9105,6 @@ dependencies = [ "sc-consensus", "sc-consensus-epochs", "sc-consensus-slots", - "sc-keystore", "sc-network", "sc-network-test", "sc-telemetry", @@ -9188,9 +9171,7 @@ dependencies = [ "sc-block-builder", "sc-client-api", "sc-consensus", - "sc-keystore", "sc-network", - "sc-network-common", "sc-network-gossip", "sc-network-sync", "sc-network-test", @@ -9524,7 +9505,6 @@ dependencies = [ "libp2p", "linked_hash_set", "log", - "lru", "mockall", "multistream-select", "parity-scale-codec", @@ -9532,9 +9512,7 @@ dependencies = [ "partial_sort", "pin-project", "rand 0.8.5", - "sc-block-builder", "sc-client-api", - "sc-consensus", "sc-network-common", "sc-network-light", "sc-network-sync", @@ -9542,10 +9520,8 @@ dependencies = [ "serde", "serde_json", "smallvec", - "snow", "sp-arithmetic", "sp-blockchain", - "sp-consensus", "sp-core", "sp-runtime", "sp-test-primitives", @@ -9578,7 +9554,6 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-network", - "sc-network-common", "sp-blockchain", "sp-consensus", "sp-core", @@ -9594,27 +9569,17 @@ dependencies = [ name = "sc-network-common" version = "0.10.0-dev" dependencies = [ - "array-bytes 4.2.0", "async-trait", "bitflags", - "bytes", "futures", - "futures-timer", "libp2p-identity", "parity-scale-codec", "prost-build", "sc-consensus", - "sc-utils", - "serde", - "smallvec", - "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", "sp-runtime", - "substrate-prometheus-endpoint", "tempfile", - "thiserror", - "zeroize", ] [[package]] @@ -9651,7 +9616,6 @@ dependencies = [ "prost-build", "sc-client-api", "sc-network", - "sc-network-common", "sp-blockchain", "sp-core", "sp-runtime", @@ -9668,11 +9632,9 @@ dependencies = [ "libp2p", "log", "parity-scale-codec", - "pin-project", "sc-network", "sc-network-common", "sp-consensus", - "sp-runtime", "sp-statement-store", "substrate-prometheus-endpoint", ] @@ -9738,7 +9700,6 @@ dependencies = [ "sc-utils", "sp-blockchain", "sp-consensus", - "sp-consensus-babe", "sp-core", "sp-runtime", "sp-tracing", @@ -9786,7 +9747,6 @@ dependencies = [ "sc-client-api", "sc-client-db", "sc-network", - "sc-network-common", "sc-transaction-pool", "sc-transaction-pool-api", "sc-utils", @@ -9960,7 +9920,6 @@ dependencies = [ "sc-rpc", "sc-rpc-server", "sc-rpc-spec-v2", - "sc-storage-monitor", "sc-sysinfo", "sc-telemetry", "sc-tracing", @@ -10011,7 +9970,6 @@ dependencies = [ "sc-consensus", "sc-executor", "sc-network", - "sc-network-common", "sc-network-sync", "sc-service", "sc-transaction-pool-api", @@ -10045,13 +10003,9 @@ dependencies = [ name = "sc-statement-store" version = "4.0.0-dev" dependencies = [ - "async-trait", "env_logger 0.9.3", - "futures", - "futures-timer", "log", "parity-db", - "parity-scale-codec", "parking_lot 0.12.1", "sc-client-api", "sp-api", @@ -10059,7 +10013,6 @@ dependencies = [ "sp-core", "sp-runtime", "sp-statement-store", - "sp-tracing", "substrate-prometheus-endpoint", "tempfile", "tokio", @@ -10071,10 +10024,8 @@ version = "0.1.0" dependencies = [ "clap 4.3.2", "fs4", - "futures", "log", "sc-client-db", - "sc-utils", "sp-core", "thiserror", "tokio", @@ -10150,7 +10101,6 @@ dependencies = [ "regex", "rustc-hash", "sc-client-api", - "sc-rpc-server", "sc-tracing-proc-macro", "serde", "sp-api", @@ -10754,7 +10704,6 @@ dependencies = [ "sp-application-crypto", "sp-core", "sp-keystore", - "sp-runtime", "substrate-test-runtime-client", ] @@ -10783,8 +10732,6 @@ dependencies = [ "fraction", "honggfuzz", "num-bigint", - "num-traits", - "primitive-types", "sp-arithmetic", ] @@ -10898,7 +10845,6 @@ dependencies = [ name = "sp-block-builder" version = "4.0.0-dev" dependencies = [ - "parity-scale-codec", "sp-api", "sp-inherents", "sp-runtime", @@ -10946,7 +10892,6 @@ dependencies = [ "scale-info", "sp-api", "sp-application-crypto", - "sp-consensus", "sp-consensus-slots", "sp-inherents", "sp-runtime", @@ -10964,11 +10909,9 @@ dependencies = [ "serde", "sp-api", "sp-application-crypto", - "sp-consensus", "sp-consensus-slots", "sp-core", "sp-inherents", - "sp-keystore", "sp-runtime", "sp-std", "sp-timestamp", @@ -11090,7 +11033,6 @@ dependencies = [ "digest 0.10.7", "sha2 0.10.6", "sha3", - "sp-std", "twox-hash", ] @@ -11098,7 +11040,6 @@ dependencies = [ name = "sp-core-hashing-proc-macro" version = "9.0.0" dependencies = [ - "proc-macro2", "quote", "sp-core-hashing", "syn 2.0.18", @@ -11177,7 +11118,6 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-core", "sp-runtime", "sp-std", "thiserror", @@ -11190,7 +11130,6 @@ dependencies = [ "bytes", "ed25519", "ed25519-dalek", - "futures", "libsecp256k1", "log", "parity-scale-codec", @@ -11222,12 +11161,10 @@ dependencies = [ name = "sp-keystore" version = "0.27.0" dependencies = [ - "futures", "parity-scale-codec", "parking_lot 0.12.1", "rand 0.7.3", "rand_chacha 0.2.2", - "serde", "sp-core", "sp-externalities", "thiserror", @@ -11290,9 +11227,7 @@ version = "2.0.0-alpha.5" dependencies = [ "clap 4.3.2", "honggfuzz", - "parity-scale-codec", "rand 0.8.5", - "scale-info", "sp-npos-elections", "sp-runtime", ] @@ -11421,7 +11356,6 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime-interface", - "sp-std", "substrate-wasm-builder", ] @@ -11478,7 +11412,6 @@ dependencies = [ name = "sp-statement-store" version = "4.0.0-dev" dependencies = [ - "log", "parity-scale-codec", "scale-info", "sp-api", @@ -11525,8 +11458,6 @@ name = "sp-timestamp" version = "4.0.0-dev" dependencies = [ "async-trait", - "futures-timer", - "log", "parity-scale-codec", "sp-inherents", "sp-runtime", @@ -11558,7 +11489,6 @@ name = "sp-transaction-storage-proof" version = "4.0.0-dev" dependencies = [ "async-trait", - "log", "parity-scale-codec", "scale-info", "sp-core", @@ -11807,9 +11737,6 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -dependencies = [ - "platforms", -] [[package]] name = "substrate-cli-test-utils" @@ -11822,7 +11749,6 @@ dependencies = [ "regex", "sp-rpc", "substrate-rpc-client", - "tempfile", "tokio", ] @@ -11908,11 +11834,9 @@ name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" dependencies = [ "jsonrpsee", - "log", "parity-scale-codec", "sc-client-api", "sc-rpc-api", - "scale-info", "serde", "serde_json", "sp-core", @@ -11958,36 +11882,28 @@ dependencies = [ "frame-system-rpc-runtime-api", "futures", "log", - "memory-db", "pallet-babe", "pallet-balances", - "pallet-beefy-mmr", - "pallet-root-testing", - "pallet-sudo", "pallet-timestamp", "parity-scale-codec", "sc-block-builder", "sc-executor", "sc-service", "scale-info", - "serde", "sp-api", "sp-application-crypto", "sp-block-builder", "sp-consensus", "sp-consensus-aura", "sp-consensus-babe", - "sp-consensus-beefy", "sp-consensus-grandpa", "sp-core", - "sp-debug-derive", "sp-externalities", "sp-inherents", "sp-io", "sp-keyring", "sp-offchain", "sp-runtime", - "sp-runtime-interface", "sp-session", "sp-state-machine", "sp-std", @@ -12005,9 +11921,7 @@ name = "substrate-test-runtime-client" version = "2.0.0" dependencies = [ "futures", - "parity-scale-codec", "sc-block-builder", - "sc-chain-spec", "sc-client-api", "sc-consensus", "sp-api", @@ -12762,7 +12676,6 @@ dependencies = [ "regex", "sc-cli", "sc-executor", - "sc-service", "serde", "serde_json", "sp-api", diff --git a/bin/node-template/node/Cargo.toml b/bin/node-template/node/Cargo.toml index bab52f561afdb..a1d1fe1848c33 100644 --- a/bin/node-template/node/Cargo.toml +++ b/bin/node-template/node/Cargo.toml @@ -26,13 +26,10 @@ sc-executor = { version = "0.10.0-dev", path = "../../../client/executor" } sc-network = { version = "0.10.0-dev", path = "../../../client/network" } sc-service = { version = "0.10.0-dev", path = "../../../client/service" } sc-telemetry = { version = "4.0.0-dev", path = "../../../client/telemetry" } -sc-keystore = { version = "4.0.0-dev", path = "../../../client/keystore" } sc-transaction-pool = { version = "4.0.0-dev", path = "../../../client/transaction-pool" } sc-transaction-pool-api = { version = "4.0.0-dev", path = "../../../client/transaction-pool/api" } -sc-statement-store = { version = "4.0.0-dev", path = "../../../client/statement-store" } sc-consensus-aura = { version = "0.10.0-dev", path = "../../../client/consensus/aura" } sp-consensus-aura = { version = "0.10.0-dev", path = "../../../primitives/consensus/aura" } -sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" } sc-consensus = { version = "0.10.0-dev", path = "../../../client/consensus/common" } sc-consensus-grandpa = { version = "0.10.0-dev", path = "../../../client/consensus/grandpa" } sp-consensus-grandpa = { version = "4.0.0-dev", path = "../../../primitives/consensus/grandpa" } @@ -47,7 +44,6 @@ pallet-transaction-payment = { version = "4.0.0-dev", default-features = false, # These dependencies are used for the node template's RPCs jsonrpsee = { version = "0.16.2", features = ["server"] } -sc-rpc = { version = "4.0.0-dev", path = "../../../client/rpc" } sp-api = { version = "4.0.0-dev", path = "../../../primitives/api" } sc-rpc-api = { version = "0.10.0-dev", path = "../../../client/rpc-api" } sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" } diff --git a/bin/node/cli/Cargo.toml b/bin/node/cli/Cargo.toml index 197c0771c1c34..9e682ce114eb0 100644 --- a/bin/node/cli/Cargo.toml +++ b/bin/node/cli/Cargo.toml @@ -56,7 +56,6 @@ sp-inherents = { version = "4.0.0-dev", path = "../../../primitives/inherents" } sp-keyring = { version = "24.0.0", path = "../../../primitives/keyring" } sp-keystore = { version = "0.27.0", path = "../../../primitives/keystore" } sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" } -sp-transaction-pool = { version = "4.0.0-dev", path = "../../../primitives/transaction-pool" } sp-transaction-storage-proof = { version = "4.0.0-dev", path = "../../../primitives/transaction-storage-proof" } sp-io = { path = "../../../primitives/io" } @@ -87,8 +86,6 @@ sc-storage-monitor = { version = "0.1.0", path = "../../../client/storage-monito # frame dependencies frame-system = { version = "4.0.0-dev", path = "../../../frame/system" } frame-system-rpc-runtime-api = { version = "4.0.0-dev", path = "../../../frame/system/rpc/runtime-api" } -pallet-transaction-payment = { version = "4.0.0-dev", path = "../../../frame/transaction-payment" } -pallet-asset-conversion = { version = "4.0.0-dev", path = "../../../frame/asset-conversion" } pallet-assets = { version = "4.0.0-dev", path = "../../../frame/assets/" } pallet-asset-conversion-tx-payment = { version = "4.0.0-dev", path = "../../../frame/transaction-payment/asset-conversion-tx-payment" } pallet-asset-tx-payment = { version = "4.0.0-dev", path = "../../../frame/transaction-payment/asset-tx-payment" } diff --git a/bin/node/inspect/Cargo.toml b/bin/node/inspect/Cargo.toml index 6edd8f6c94ab1..41894fb60e810 100644 --- a/bin/node/inspect/Cargo.toml +++ b/bin/node/inspect/Cargo.toml @@ -18,7 +18,6 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } thiserror = "1.0" sc-cli = { version = "0.10.0-dev", path = "../../../client/cli" } sc-client-api = { version = "4.0.0-dev", path = "../../../client/api" } -sc-executor = { version = "0.10.0-dev", path = "../../../client/executor" } sc-service = { version = "0.10.0-dev", default-features = false, path = "../../../client/service" } sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" } sp-core = { version = "21.0.0", path = "../../../primitives/core" } diff --git a/bin/node/primitives/Cargo.toml b/bin/node/primitives/Cargo.toml index e6c39ab457f24..ac178c67f7188 100644 --- a/bin/node/primitives/Cargo.toml +++ b/bin/node/primitives/Cargo.toml @@ -13,22 +13,12 @@ publish = false targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [ - "derive", -] } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -frame-system = { version = "4.0.0-dev", default-features = false, path = "../../../frame/system" } -sp-application-crypto = { version = "23.0.0", default-features = false, path = "../../../primitives/application-crypto" } sp-core = { version = "21.0.0", default-features = false, path = "../../../primitives/core" } sp-runtime = { version = "24.0.0", default-features = false, path = "../../../primitives/runtime" } [features] default = ["std"] std = [ - "codec/std", - "frame-system/std", - "scale-info/std", - "sp-application-crypto/std", "sp-core/std", "sp-runtime/std", ] diff --git a/bin/node/testing/Cargo.toml b/bin/node/testing/Cargo.toml index 81a15f528057a..711c48c34329d 100644 --- a/bin/node/testing/Cargo.toml +++ b/bin/node/testing/Cargo.toml @@ -26,7 +26,6 @@ pallet-asset-conversion = { version = "4.0.0-dev", path = "../../../frame/asset- pallet-assets = { version = "4.0.0-dev", path = "../../../frame/assets" } pallet-asset-conversion-tx-payment = { version = "4.0.0-dev", path = "../../../frame/transaction-payment/asset-conversion-tx-payment" } pallet-asset-tx-payment = { version = "4.0.0-dev", path = "../../../frame/transaction-payment/asset-tx-payment" } -pallet-transaction-payment = { version = "4.0.0-dev", path = "../../../frame/transaction-payment" } sc-block-builder = { version = "0.10.0-dev", path = "../../../client/block-builder" } sc-client-api = { version = "4.0.0-dev", path = "../../../client/api" } sc-client-db = { version = "0.10.0-dev", features = ["rocksdb"], path = "../../../client/db" } diff --git a/client/authority-discovery/Cargo.toml b/client/authority-discovery/Cargo.toml index 33da5eb1bbb34..0324cac466912 100644 --- a/client/authority-discovery/Cargo.toml +++ b/client/authority-discovery/Cargo.toml @@ -30,7 +30,6 @@ thiserror = "1.0" prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", path = "../../utils/prometheus" } sc-client-api = { version = "4.0.0-dev", path = "../api" } sc-network = { version = "0.10.0-dev", path = "../network/" } -sc-network-common = { version = "0.10.0-dev", path = "../network/common" } sp-api = { version = "4.0.0-dev", path = "../../primitives/api" } sp-authority-discovery = { version = "4.0.0-dev", path = "../../primitives/authority-discovery" } sp-blockchain = { version = "4.0.0-dev", path = "../../primitives/blockchain" } diff --git a/client/cli/Cargo.toml b/client/cli/Cargo.toml index 741f787410961..562720f31b68f 100644 --- a/client/cli/Cargo.toml +++ b/client/cli/Cargo.toml @@ -34,7 +34,6 @@ sc-client-api = { version = "4.0.0-dev", path = "../api" } sc-client-db = { version = "0.10.0-dev", default-features = false, path = "../db" } sc-keystore = { version = "4.0.0-dev", path = "../keystore" } sc-network = { version = "0.10.0-dev", path = "../network" } -sc-network-common = { version = "0.10.0-dev", path = "../network/common" } sc-service = { version = "0.10.0-dev", default-features = false, path = "../service" } sc-telemetry = { version = "4.0.0-dev", path = "../telemetry" } sc-tracing = { version = "4.0.0-dev", path = "../tracing" } diff --git a/client/consensus/babe/Cargo.toml b/client/consensus/babe/Cargo.toml index e76858dd99869..28bd28c812b32 100644 --- a/client/consensus/babe/Cargo.toml +++ b/client/consensus/babe/Cargo.toml @@ -30,7 +30,6 @@ sc-client-api = { version = "4.0.0-dev", path = "../../api" } sc-consensus = { version = "0.10.0-dev", path = "../../../client/consensus/common" } sc-consensus-epochs = { version = "0.10.0-dev", path = "../epochs" } sc-consensus-slots = { version = "0.10.0-dev", path = "../slots" } -sc-keystore = { version = "4.0.0-dev", path = "../../keystore" } sc-telemetry = { version = "4.0.0-dev", path = "../../telemetry" } sp-api = { version = "4.0.0-dev", path = "../../../primitives/api" } sp-application-crypto = { version = "23.0.0", path = "../../../primitives/application-crypto" } diff --git a/client/consensus/beefy/Cargo.toml b/client/consensus/beefy/Cargo.toml index a804b7a89b48f..b4963684d4e09 100644 --- a/client/consensus/beefy/Cargo.toml +++ b/client/consensus/beefy/Cargo.toml @@ -22,9 +22,7 @@ wasm-timer = "0.2.5" prometheus = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", path = "../../../utils/prometheus" } sc-client-api = { version = "4.0.0-dev", path = "../../api" } sc-consensus = { version = "0.10.0-dev", path = "../../consensus/common" } -sc-keystore = { version = "4.0.0-dev", path = "../../keystore" } sc-network = { version = "0.10.0-dev", path = "../../network" } -sc-network-common = { version = "0.10.0-dev", path = "../../network/common" } sc-network-gossip = { version = "0.10.0-dev", path = "../../network-gossip" } sc-network-sync = { version = "0.10.0-dev", path = "../../network/sync" } sc-utils = { version = "4.0.0-dev", path = "../../utils" } diff --git a/client/network/Cargo.toml b/client/network/Cargo.toml index 5375f36b319aa..5d20570fdbbe9 100644 --- a/client/network/Cargo.toml +++ b/client/network/Cargo.toml @@ -28,7 +28,6 @@ ip_network = "0.4.1" libp2p = { version = "0.51.3", features = ["dns", "identify", "kad", "macros", "mdns", "noise", "ping", "tcp", "tokio", "yamux", "websocket", "request-response"] } linked_hash_set = "0.1.3" log = "0.4.17" -lru = "0.10.0" mockall = "0.11.3" parking_lot = "0.12.1" partial_sort = "0.2.0" @@ -41,20 +40,13 @@ thiserror = "1.0" unsigned-varint = { version = "0.7.1", features = ["futures", "asynchronous_codec"] } zeroize = "1.4.3" prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", path = "../../utils/prometheus" } -sc-block-builder = { version = "0.10.0-dev", path = "../block-builder" } sc-client-api = { version = "4.0.0-dev", path = "../api" } -sc-consensus = { version = "0.10.0-dev", path = "../consensus/common" } sc-network-common = { version = "0.10.0-dev", path = "./common" } sc-utils = { version = "4.0.0-dev", path = "../utils" } sp-arithmetic = { version = "16.0.0", path = "../../primitives/arithmetic" } sp-blockchain = { version = "4.0.0-dev", path = "../../primitives/blockchain" } -sp-consensus = { version = "0.10.0-dev", path = "../../primitives/consensus/common" } sp-core = { version = "21.0.0", path = "../../primitives/core" } sp-runtime = { version = "24.0.0", path = "../../primitives/runtime" } -# Force 0.9.2 as snow release to fix the compilation. -# -# When libp2p also enforces this version, we can get rid off this extra dep here. -snow = "0.9.2" wasm-timer = "0.2" [dev-dependencies] diff --git a/client/network/bitswap/Cargo.toml b/client/network/bitswap/Cargo.toml index ac378bab18f1b..4a3a03f0ab4d5 100644 --- a/client/network/bitswap/Cargo.toml +++ b/client/network/bitswap/Cargo.toml @@ -26,7 +26,6 @@ thiserror = "1.0" unsigned-varint = { version = "0.7.1", features = ["futures", "asynchronous_codec"] } sc-client-api = { version = "4.0.0-dev", path = "../../api" } sc-network = { version = "0.10.0-dev", path = "../" } -sc-network-common = { version = "0.10.0-dev", path = "../common" } sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" } sp-runtime = { version = "24.0.0", path = "../../../primitives/runtime" } diff --git a/client/network/common/Cargo.toml b/client/network/common/Cargo.toml index 43b9107f39d2e..c2fee608d79b6 100644 --- a/client/network/common/Cargo.toml +++ b/client/network/common/Cargo.toml @@ -16,27 +16,17 @@ targets = ["x86_64-unknown-linux-gnu"] prost-build = "0.11" [dependencies] -array-bytes = "4.1" async-trait = "0.1.57" bitflags = "1.3.2" -bytes = "1" codec = { package = "parity-scale-codec", version = "3.6.1", features = [ "derive", ] } futures = "0.3.21" -futures-timer = "3.0.2" libp2p-identity = { version = "0.1.2", features = ["peerid"] } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", path = "../../../utils/prometheus" } -smallvec = "1.8.0" sc-consensus = { version = "0.10.0-dev", path = "../../consensus/common" } -sc-utils = { version = "4.0.0-dev", path = "../../utils" } -serde = { version = "1.0.163", features = ["derive"] } sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" } sp-consensus-grandpa = { version = "4.0.0-dev", path = "../../../primitives/consensus/grandpa" } sp-runtime = { version = "24.0.0", path = "../../../primitives/runtime" } -sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" } -thiserror = "1.0" -zeroize = "1.4.3" [dev-dependencies] tempfile = "3.1.0" diff --git a/client/network/light/Cargo.toml b/client/network/light/Cargo.toml index d5c731b3913a4..1851819f9c3b3 100644 --- a/client/network/light/Cargo.toml +++ b/client/network/light/Cargo.toml @@ -28,7 +28,6 @@ prost = "0.11" sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" } sc-client-api = { version = "4.0.0-dev", path = "../../api" } sc-network = { version = "0.10.0-dev", path = "../" } -sc-network-common = { version = "0.10.0-dev", path = "../common" } sp-core = { version = "21.0.0", path = "../../../primitives/core" } sp-runtime = { version = "24.0.0", path = "../../../primitives/runtime" } thiserror = "1.0" diff --git a/client/network/statement/Cargo.toml b/client/network/statement/Cargo.toml index 3086db7b6581f..42bfd57463ce7 100644 --- a/client/network/statement/Cargo.toml +++ b/client/network/statement/Cargo.toml @@ -19,10 +19,8 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive futures = "0.3.21" libp2p = "0.51.3" log = "0.4.17" -pin-project = "1.0.12" prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", path = "../../../utils/prometheus" } sc-network-common = { version = "0.10.0-dev", path = "../common" } sc-network = { version = "0.10.0-dev", path = "../" } -sp-runtime = { version = "24.0.0", path = "../../../primitives/runtime" } sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" } sp-statement-store = { version = "4.0.0-dev", path = "../../../primitives/statement-store" } diff --git a/client/network/test/Cargo.toml b/client/network/test/Cargo.toml index 4a1adbb94f1ee..ddd218051c484 100644 --- a/client/network/test/Cargo.toml +++ b/client/network/test/Cargo.toml @@ -32,7 +32,6 @@ sc-network-sync = { version = "0.10.0-dev", path = "../sync" } sc-service = { version = "0.10.0-dev", default-features = false, features = ["test-helpers"], path = "../../service" } sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" } sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" } -sp-consensus-babe = { version = "0.10.0-dev", path = "../../../primitives/consensus/babe" } sp-core = { version = "21.0.0", path = "../../../primitives/core" } sp-runtime = { version = "24.0.0", path = "../../../primitives/runtime" } sp-tracing = { version = "10.0.0", path = "../../../primitives/tracing" } diff --git a/client/offchain/Cargo.toml b/client/offchain/Cargo.toml index 9ad59dfae5313..3b17fedfb7f14 100644 --- a/client/offchain/Cargo.toml +++ b/client/offchain/Cargo.toml @@ -30,7 +30,6 @@ threadpool = "1.7" tracing = "0.1.29" sc-client-api = { version = "4.0.0-dev", path = "../api" } sc-network = { version = "0.10.0-dev", path = "../network" } -sc-network-common = { version = "0.10.0-dev", path = "../network/common" } sc-utils = { version = "4.0.0-dev", path = "../utils" } sp-api = { version = "4.0.0-dev", path = "../../primitives/api" } sp-core = { version = "21.0.0", path = "../../primitives/core" } diff --git a/client/service/Cargo.toml b/client/service/Cargo.toml index 5ffceb3eb05ad..b77a6ef58e6cd 100644 --- a/client/service/Cargo.toml +++ b/client/service/Cargo.toml @@ -73,7 +73,6 @@ sc-offchain = { version = "4.0.0-dev", path = "../offchain" } prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.10.0-dev" } sc-tracing = { version = "4.0.0-dev", path = "../tracing" } sc-sysinfo = { version = "6.0.0-dev", path = "../sysinfo" } -sc-storage-monitor = { version = "0.1.0", path = "../storage-monitor" } tracing = "0.1.29" tracing-futures = { version = "0.2.4" } async-trait = "0.1.57" diff --git a/client/service/test/Cargo.toml b/client/service/test/Cargo.toml index 153c54b99f512..151a6589c5949 100644 --- a/client/service/test/Cargo.toml +++ b/client/service/test/Cargo.toml @@ -27,7 +27,6 @@ sc-client-db = { version = "0.10.0-dev", default-features = false, path = "../.. sc-consensus = { version = "0.10.0-dev", path = "../../../client/consensus/common" } sc-executor = { version = "0.10.0-dev", path = "../../executor" } sc-network = { version = "0.10.0-dev", path = "../../network" } -sc-network-common = { version = "0.10.0-dev", path = "../../network/common" } sc-network-sync = { version = "0.10.0-dev", path = "../../network/sync" } sc-service = { version = "0.10.0-dev", features = ["test-helpers"], path = "../../service" } sc-transaction-pool-api = { version = "4.0.0-dev", path = "../../../client/transaction-pool/api" } diff --git a/client/statement-store/Cargo.toml b/client/statement-store/Cargo.toml index a8c349dc3b325..bb2d7aa2feaa5 100644 --- a/client/statement-store/Cargo.toml +++ b/client/statement-store/Cargo.toml @@ -13,10 +13,6 @@ readme = "README.md" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -async-trait = "0.1.57" -codec = { package = "parity-scale-codec", version = "3.6.1" } -futures = "0.3.21" -futures-timer = "3.0.2" log = "0.4.17" parking_lot = "0.12.1" parity-db = "0.4.8" @@ -27,7 +23,6 @@ sp-api = { version = "4.0.0-dev", path = "../../primitives/api" } sp-blockchain = { version = "4.0.0-dev", path = "../../primitives/blockchain" } sp-core = { version = "21.0.0", path = "../../primitives/core" } sp-runtime = { version = "24.0.0", path = "../../primitives/runtime" } -sp-tracing = { version = "10.0.0", path = "../../primitives/tracing" } sc-client-api = { version = "4.0.0-dev", path = "../api" } [dev-dependencies] diff --git a/client/storage-monitor/Cargo.toml b/client/storage-monitor/Cargo.toml index 4b958e06eaf0e..02c67dedc59cc 100644 --- a/client/storage-monitor/Cargo.toml +++ b/client/storage-monitor/Cargo.toml @@ -10,11 +10,9 @@ homepage = "https://substrate.io" [dependencies] clap = { version = "4.2.5", features = ["derive", "string"] } -futures = "0.3.21" log = "0.4.17" fs4 = "0.6.3" sc-client-db = { version = "0.10.0-dev", default-features = false, path = "../db" } -sc-utils = { version = "4.0.0-dev", path = "../utils" } sp-core = { version = "21.0.0", path = "../../primitives/core" } tokio = "1.22.0" thiserror = "1.0.30" diff --git a/client/tracing/Cargo.toml b/client/tracing/Cargo.toml index 07a8a2ef0f1ae..fa229782a781e 100644 --- a/client/tracing/Cargo.toml +++ b/client/tracing/Cargo.toml @@ -28,7 +28,6 @@ tracing = "0.1.29" tracing-log = "0.1.3" tracing-subscriber = { version = "0.2.25", features = ["parking_lot"] } sc-client-api = { version = "4.0.0-dev", path = "../api" } -sc-rpc-server = { version = "4.0.0-dev", path = "../rpc-servers" } sc-tracing-proc-macro = { version = "4.0.0-dev", path = "./proc-macro" } sp-api = { version = "4.0.0-dev", path = "../../primitives/api" } sp-blockchain = { version = "4.0.0-dev", path = "../../primitives/blockchain" } diff --git a/primitives/application-crypto/test/Cargo.toml b/primitives/application-crypto/test/Cargo.toml index 21f9846a4b119..d4b2ccca909b5 100644 --- a/primitives/application-crypto/test/Cargo.toml +++ b/primitives/application-crypto/test/Cargo.toml @@ -17,5 +17,4 @@ sp-api = { version = "4.0.0-dev", path = "../../api" } sp-application-crypto = { version = "23.0.0", path = "../" } sp-core = { version = "21.0.0", default-features = false, path = "../../core" } sp-keystore = { version = "0.27.0", default-features = false, path = "../../keystore" } -sp-runtime = { version = "24.0.0", path = "../../runtime" } substrate-test-runtime-client = { version = "2.0.0", path = "../../../test-utils/runtime/client" } diff --git a/primitives/arithmetic/fuzzer/Cargo.toml b/primitives/arithmetic/fuzzer/Cargo.toml index 656ec8856bbbe..976798831797d 100644 --- a/primitives/arithmetic/fuzzer/Cargo.toml +++ b/primitives/arithmetic/fuzzer/Cargo.toml @@ -18,8 +18,6 @@ arbitrary = "1.3.0" fraction = "0.13.1" honggfuzz = "0.5.49" num-bigint = "0.4.3" -num-traits = "0.2.15" -primitive-types = "0.12.0" sp-arithmetic = { version = "16.0.0", path = ".." } [[bin]] diff --git a/primitives/block-builder/Cargo.toml b/primitives/block-builder/Cargo.toml index 75b9bdbae9148..ba0e1f041e0da 100644 --- a/primitives/block-builder/Cargo.toml +++ b/primitives/block-builder/Cargo.toml @@ -13,7 +13,6 @@ readme = "README.md" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false } sp-api = { version = "4.0.0-dev", default-features = false, path = "../api" } sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../inherents" } sp-runtime = { version = "24.0.0", default-features = false, path = "../runtime" } @@ -22,7 +21,6 @@ sp-std = { version = "8.0.0", default-features = false, path = "../std" } [features] default = [ "std" ] std = [ - "codec/std", "sp-api/std", "sp-inherents/std", "sp-runtime/std", diff --git a/primitives/consensus/aura/Cargo.toml b/primitives/consensus/aura/Cargo.toml index 8de45d837f0fb..b50e43acfd653 100644 --- a/primitives/consensus/aura/Cargo.toml +++ b/primitives/consensus/aura/Cargo.toml @@ -18,7 +18,6 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } sp-api = { version = "4.0.0-dev", default-features = false, path = "../../api" } sp-application-crypto = { version = "23.0.0", default-features = false, path = "../../application-crypto" } -sp-consensus = { version = "0.10.0-dev", optional = true, path = "../common" } sp-consensus-slots = { version = "0.10.0-dev", default-features = false, path = "../slots" } sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../../inherents" } sp-runtime = { version = "24.0.0", default-features = false, path = "../../runtime" } @@ -33,7 +32,6 @@ std = [ "scale-info/std", "sp-api/std", "sp-application-crypto/std", - "sp-consensus", "sp-consensus-slots/std", "sp-inherents/std", "sp-runtime/std", diff --git a/primitives/consensus/babe/Cargo.toml b/primitives/consensus/babe/Cargo.toml index 847e8a4213a38..b33bae73f62dd 100644 --- a/primitives/consensus/babe/Cargo.toml +++ b/primitives/consensus/babe/Cargo.toml @@ -19,11 +19,9 @@ scale-info = { version = "2.5.0", default-features = false, features = ["derive" serde = { version = "1.0.163", default-features = false, features = ["derive", "alloc"], optional = true } sp-api = { version = "4.0.0-dev", default-features = false, path = "../../api" } sp-application-crypto = { version = "23.0.0", default-features = false, path = "../../application-crypto" } -sp-consensus = { version = "0.10.0-dev", optional = true, path = "../common" } sp-consensus-slots = { version = "0.10.0-dev", default-features = false, path = "../slots" } sp-core = { version = "21.0.0", default-features = false, path = "../../core" } sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../../inherents" } -sp-keystore = { version = "0.27.0", default-features = false, optional = true, path = "../../keystore" } sp-runtime = { version = "24.0.0", default-features = false, path = "../../runtime" } sp-std = { version = "8.0.0", default-features = false, path = "../../std" } sp-timestamp = { version = "4.0.0-dev", optional = true, path = "../../timestamp" } @@ -37,11 +35,9 @@ std = [ "serde/std", "sp-api/std", "sp-application-crypto/std", - "sp-consensus", "sp-consensus-slots/std", "sp-core/std", "sp-inherents/std", - "sp-keystore", "sp-runtime/std", "sp-std/std", "sp-timestamp", diff --git a/primitives/core/hashing/Cargo.toml b/primitives/core/hashing/Cargo.toml index e3ce40e478efd..9b7fdabd3d481 100644 --- a/primitives/core/hashing/Cargo.toml +++ b/primitives/core/hashing/Cargo.toml @@ -19,7 +19,6 @@ digest = { version = "0.10.3", default-features = false } sha2 = { version = "0.10.2", default-features = false } sha3 = { version = "0.10.0", default-features = false } twox-hash = { version = "1.6.3", default-features = false, features = ["digest_0_10"] } -sp-std = { version = "8.0.0", default-features = false, path = "../../std" } [features] default = ["std"] @@ -29,6 +28,5 @@ std = [ "byteorder/std", "sha2/std", "sha3/std", - "sp-std/std", "twox-hash/std", ] diff --git a/primitives/core/hashing/proc-macro/Cargo.toml b/primitives/core/hashing/proc-macro/Cargo.toml index 8534adfaa1cf8..35bb78249d110 100644 --- a/primitives/core/hashing/proc-macro/Cargo.toml +++ b/primitives/core/hashing/proc-macro/Cargo.toml @@ -16,7 +16,6 @@ targets = ["x86_64-unknown-linux-gnu"] proc-macro = true [dependencies] -proc-macro2 = "1.0.56" quote = "1.0.28" syn = { version = "2.0.16", features = ["full", "parsing"] } sp-core-hashing = { version = "9.0.0", default-features = false, path = "../" } diff --git a/primitives/inherents/Cargo.toml b/primitives/inherents/Cargo.toml index 964f9c23345d0..d42588ad21a36 100644 --- a/primitives/inherents/Cargo.toml +++ b/primitives/inherents/Cargo.toml @@ -19,7 +19,6 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } impl-trait-for-tuples = "0.2.2" thiserror = { version = "1.0.30", optional = true } -sp-core = { version = "21.0.0", default-features = false, path = "../core" } sp-runtime = { version = "24.0.0", optional = true, default-features = false, path = "../runtime" } sp-std = { version = "8.0.0", default-features = false, path = "../std" } @@ -32,7 +31,6 @@ std = [ "async-trait", "codec/std", "scale-info/std", - "sp-core/std", "sp-runtime/std", "sp-std/std", "thiserror", diff --git a/primitives/io/Cargo.toml b/primitives/io/Cargo.toml index 728455ef33e38..55ba753d59885 100644 --- a/primitives/io/Cargo.toml +++ b/primitives/io/Cargo.toml @@ -28,7 +28,6 @@ sp-trie = { version = "22.0.0", default-features = false, optional = true, path sp-externalities = { version = "0.19.0", default-features = false, path = "../externalities" } sp-tracing = { version = "10.0.0", default-features = false, path = "../tracing" } log = { version = "0.4.17", optional = true } -futures = { version = "0.3.21", features = ["thread-pool"], optional = true } secp256k1 = { version = "0.24.0", features = ["recovery", "global-context"], optional = true } tracing = { version = "0.1.29", default-features = false } tracing-core = { version = "0.1.28", default-features = false} @@ -59,7 +58,6 @@ std = [ "tracing/std", "tracing-core/std", "log", - "futures", "ed25519-dalek", "ed25519", ] diff --git a/primitives/keystore/Cargo.toml b/primitives/keystore/Cargo.toml index 4f317cf82eb41..1ae4f782042ce 100644 --- a/primitives/keystore/Cargo.toml +++ b/primitives/keystore/Cargo.toml @@ -14,9 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] } -futures = "0.3.21" parking_lot = { version = "0.12.1", default-features = false } -serde = { version = "1.0", optional = true } thiserror = "1.0" sp-core = { version = "21.0.0", default-features = false, path = "../core" } sp-externalities = { version = "0.19.0", default-features = false, path = "../externalities" } @@ -29,7 +27,6 @@ rand_chacha = "0.2.2" default = ["std"] std = [ "codec/std", - "serde", "sp-core/std", "sp-externalities/std", ] diff --git a/primitives/npos-elections/fuzzer/Cargo.toml b/primitives/npos-elections/fuzzer/Cargo.toml index 867f81532b18f..acb2b7d89a5c7 100644 --- a/primitives/npos-elections/fuzzer/Cargo.toml +++ b/primitives/npos-elections/fuzzer/Cargo.toml @@ -15,10 +15,8 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] clap = { version = "4.2.5", features = ["derive"] } -codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] } honggfuzz = "0.5" rand = { version = "0.8", features = ["std", "small_rng"] } -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } sp-npos-elections = { version = "4.0.0-dev", path = ".." } sp-runtime = { version = "24.0.0", path = "../../runtime" } diff --git a/primitives/runtime-interface/test-wasm-deprecated/Cargo.toml b/primitives/runtime-interface/test-wasm-deprecated/Cargo.toml index 93faf189c8dcb..2ff86086a890b 100644 --- a/primitives/runtime-interface/test-wasm-deprecated/Cargo.toml +++ b/primitives/runtime-interface/test-wasm-deprecated/Cargo.toml @@ -16,7 +16,6 @@ targets = ["x86_64-unknown-linux-gnu"] sp-core = { version = "21.0.0", default-features = false, path = "../../core" } sp-io = { version = "23.0.0", default-features = false, path = "../../io" } sp-runtime-interface = { version = "17.0.0", default-features = false, path = "../" } -sp-std = { version = "8.0.0", default-features = false, path = "../../std" } [build-dependencies] substrate-wasm-builder = { version = "5.0.0-dev", path = "../../../utils/wasm-builder", optional = true } @@ -27,6 +26,5 @@ std = [ "sp-core/std", "sp-io/std", "sp-runtime-interface/std", - "sp-std/std", "substrate-wasm-builder", ] diff --git a/primitives/statement-store/Cargo.toml b/primitives/statement-store/Cargo.toml index 4b2c0e7f6a27a..c0e1a494ab23a 100644 --- a/primitives/statement-store/Cargo.toml +++ b/primitives/statement-store/Cargo.toml @@ -23,7 +23,6 @@ sp-application-crypto = { version = "23.0.0", default-features = false, path = " sp-runtime-interface = { version = "17.0.0", default-features = false, path = "../runtime-interface" } sp-externalities = { version = "0.19.0", default-features = false, path = "../externalities" } thiserror = { version = "1.0", optional = true } -log = { version = "0.4.17", optional = true } [features] default = ["std"] @@ -37,7 +36,6 @@ std = [ "sp-api/std", "sp-application-crypto/std", "thiserror", - "log", ] serde = [ "scale-info/serde", diff --git a/primitives/timestamp/Cargo.toml b/primitives/timestamp/Cargo.toml index 660c345c0a2d7..731a6a1b5d143 100644 --- a/primitives/timestamp/Cargo.toml +++ b/primitives/timestamp/Cargo.toml @@ -15,8 +15,6 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] async-trait = { version = "0.1.57", optional = true } codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] } -futures-timer = { version = "3.0.2", optional = true } -log = { version = "0.4.17", optional = true } thiserror = { version = "1.0.30", optional = true } sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../inherents" } sp-runtime = { version = "24.0.0", default-features = false, path = "../runtime" } @@ -27,8 +25,6 @@ default = [ "std" ] std = [ "async-trait", "codec/std", - "futures-timer", - "log", "sp-inherents/std", "sp-runtime/std", "sp-std/std", diff --git a/primitives/transaction-storage-proof/Cargo.toml b/primitives/transaction-storage-proof/Cargo.toml index 72fb690c24848..acf2ed010f51a 100644 --- a/primitives/transaction-storage-proof/Cargo.toml +++ b/primitives/transaction-storage-proof/Cargo.toml @@ -15,7 +15,6 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] async-trait = { version = "0.1.57", optional = true } codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] } -log = { version = "0.4.17", optional = true } scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } sp-core = { version = "21.0.0", optional = true, path = "../core" } sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../inherents" } @@ -28,7 +27,6 @@ default = [ "std" ] std = [ "async-trait", "codec/std", - "log", "scale-info/std", "sp-core", "sp-inherents/std", diff --git a/test-utils/cli/Cargo.toml b/test-utils/cli/Cargo.toml index c05ffa902ea46..ac8c519a65cd4 100644 --- a/test-utils/cli/Cargo.toml +++ b/test-utils/cli/Cargo.toml @@ -18,7 +18,6 @@ sp-rpc = { version = "6.0.0", path = "../../primitives/rpc" } assert_cmd = "2.0.10" nix = "0.26.2" regex = "1.7.3" -tempfile = "3.5.0" tokio = { version = "1.22.0", features = ["full"] } node-primitives = { path = "../../bin/node/primitives" } futures = "0.3.28" diff --git a/test-utils/runtime/Cargo.toml b/test-utils/runtime/Cargo.toml index dd53289be0963..35c26a62be2d6 100644 --- a/test-utils/runtime/Cargo.toml +++ b/test-utils/runtime/Cargo.toml @@ -13,21 +13,17 @@ publish = false targets = ["x86_64-unknown-linux-gnu"] [dependencies] -pallet-beefy-mmr = { version = "4.0.0-dev", default-features = false, path = "../../frame/beefy-mmr" } sp-application-crypto = { version = "23.0.0", default-features = false, path = "../../primitives/application-crypto" } sp-consensus-aura = { version = "0.10.0-dev", default-features = false, path = "../../primitives/consensus/aura" } sp-consensus-babe = { version = "0.10.0-dev", default-features = false, path = "../../primitives/consensus/babe" } -sp-consensus-beefy = { version = "4.0.0-dev", default-features = false, path = "../../primitives/consensus/beefy" } sp-block-builder = { version = "4.0.0-dev", default-features = false, path = "../../primitives/block-builder" } codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] } scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../../primitives/inherents" } sp-keyring = { version = "24.0.0", optional = true, path = "../../primitives/keyring" } -memory-db = { version = "0.32.0", default-features = false } sp-offchain = { version = "4.0.0-dev", default-features = false, path = "../../primitives/offchain" } sp-core = { version = "21.0.0", default-features = false, path = "../../primitives/core" } sp-std = { version = "8.0.0", default-features = false, path = "../../primitives/std" } -sp-runtime-interface = { version = "17.0.0", default-features = false, path = "../../primitives/runtime-interface" } sp-io = { version = "23.0.0", default-features = false, path = "../../primitives/io" } frame-support = { version = "4.0.0-dev", default-features = false, path = "../../frame/support" } sp-version = { version = "22.0.0", default-features = false, path = "../../primitives/version" } @@ -36,8 +32,6 @@ sp-api = { version = "4.0.0-dev", default-features = false, path = "../../primit sp-runtime = { version = "24.0.0", default-features = false, path = "../../primitives/runtime" } pallet-babe = { version = "4.0.0-dev", default-features = false, path = "../../frame/babe" } pallet-balances = { version = "4.0.0-dev", default-features = false, path = "../../frame/balances" } -pallet-root-testing = { version = "1.0.0-dev", default-features = false, path = "../../frame/root-testing" } -pallet-sudo = { version = "4.0.0-dev", default-features = false, path = "../../frame/sudo" } frame-executive = { version = "4.0.0-dev", default-features = false, path = "../../frame/executive" } frame-system = { version = "4.0.0-dev", default-features = false, path = "../../frame/system" } frame-system-rpc-runtime-api = { version = "4.0.0-dev", default-features = false, path = "../../frame/system/rpc/runtime-api" } @@ -49,12 +43,10 @@ trie-db = { version = "0.27.0", default-features = false } sc-service = { version = "0.10.0-dev", default-features = false, optional = true, features = ["test-helpers"], path = "../../client/service" } sp-state-machine = { version = "0.28.0", default-features = false, path = "../../primitives/state-machine" } sp-externalities = { version = "0.19.0", default-features = false, path = "../../primitives/externalities" } -sp-debug-derive = { path = "../../primitives/debug-derive" } # 3rd party array-bytes = { version = "6.1", optional = true } log = { version = "0.4.17", default-features = false } -serde = { version = "1.0.163", optional = true, features = ["derive"] } [dev-dependencies] futures = "0.3.21" @@ -76,34 +68,27 @@ std = [ "sp-application-crypto/std", "sp-consensus-aura/std", "sp-consensus-babe/std", - "sp-consensus-beefy/std", "sp-block-builder/std", "codec/std", "scale-info/std", "sp-inherents/std", "sp-keyring", "log/std", - "memory-db/std", "sp-offchain/std", "sp-core/std", "sp-core/std", "sp-std/std", - "sp-runtime-interface/std", "sp-io/std", "frame-support/std", "sp-version/std", - "serde", "sp-session/std", "sp-api/std", "sp-runtime/std", "sp-externalities/std", "sp-state-machine/std", "pallet-babe/std", - "pallet-beefy-mmr/std", "pallet-timestamp/std", "pallet-balances/std", - "pallet-sudo/std", - "pallet-root-testing/std", "frame-system-rpc-runtime-api/std", "frame-system/std", "sc-service", diff --git a/test-utils/runtime/client/Cargo.toml b/test-utils/runtime/client/Cargo.toml index fd73bcc8127a0..8269fb72fe508 100644 --- a/test-utils/runtime/client/Cargo.toml +++ b/test-utils/runtime/client/Cargo.toml @@ -12,10 +12,8 @@ publish = false targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = "parity-scale-codec", version = "3.6.1" } futures = "0.3.21" sc-block-builder = { version = "0.10.0-dev", path = "../../../client/block-builder" } -sc-chain-spec = { version = "4.0.0-dev", path = "../../../client/chain-spec" } sc-client-api = { version = "4.0.0-dev", path = "../../../client/api" } sc-consensus = { version = "0.10.0-dev", path = "../../../client/consensus/common" } sp-api = { version = "4.0.0-dev", path = "../../../primitives/api" } diff --git a/utils/build-script-utils/Cargo.toml b/utils/build-script-utils/Cargo.toml index f8b06446a5101..35096f282ef0c 100644 --- a/utils/build-script-utils/Cargo.toml +++ b/utils/build-script-utils/Cargo.toml @@ -13,4 +13,3 @@ readme = "README.md" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -platforms = "3.0" diff --git a/utils/frame/benchmarking-cli/Cargo.toml b/utils/frame/benchmarking-cli/Cargo.toml index e7a7f9f57ccb6..899ba955b2f58 100644 --- a/utils/frame/benchmarking-cli/Cargo.toml +++ b/utils/frame/benchmarking-cli/Cargo.toml @@ -49,7 +49,6 @@ sp-inherents = { version = "4.0.0-dev", path = "../../../primitives/inherents" } sp-keystore = { version = "0.27.0", path = "../../../primitives/keystore" } sp-runtime = { version = "24.0.0", path = "../../../primitives/runtime" } sp-state-machine = { version = "0.28.0", path = "../../../primitives/state-machine" } -sp-std = { version = "8.0.0", path = "../../../primitives/std" } sp-storage = { version = "13.0.0", path = "../../../primitives/storage" } sp-trie = { version = "22.0.0", path = "../../../primitives/trie" } gethostname = "0.2.3" diff --git a/utils/frame/rpc/state-trie-migration-rpc/Cargo.toml b/utils/frame/rpc/state-trie-migration-rpc/Cargo.toml index 34546f43a4fea..9eee52aacba76 100644 --- a/utils/frame/rpc/state-trie-migration-rpc/Cargo.toml +++ b/utils/frame/rpc/state-trie-migration-rpc/Cargo.toml @@ -13,10 +13,8 @@ readme = "README.md" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false } serde = { version = "1", features = ["derive"] } -log = { version = "0.4.17", default-features = false } sp-core = { path = "../../../../primitives/core" } sp-state-machine = { path = "../../../../primitives/state-machine" } diff --git a/utils/frame/try-runtime/cli/Cargo.toml b/utils/frame/try-runtime/cli/Cargo.toml index ddcef6313ceb6..41c022c904da6 100644 --- a/utils/frame/try-runtime/cli/Cargo.toml +++ b/utils/frame/try-runtime/cli/Cargo.toml @@ -15,7 +15,6 @@ targets = ["x86_64-unknown-linux-gnu"] remote-externalities = { version = "0.10.0-dev", path = "../../remote-externalities", package = "frame-remote-externalities" } sc-cli = { version = "0.10.0-dev", path = "../../../../client/cli" } sc-executor = { version = "0.10.0-dev", path = "../../../../client/executor" } -sc-service = { version = "0.10.0-dev", default-features = false, path = "../../../../client/service" } sp-consensus-aura = { path = "../../../../primitives/consensus/aura" } sp-consensus-babe = { path = "../../../../primitives/consensus/babe" } sp-core = { version = "21.0.0", path = "../../../../primitives/core" }