Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed unused dependencies (partial progress) #7329

Merged
merged 21 commits into from
Jan 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
121 changes: 0 additions & 121 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,6 @@ people-rococo-runtime = { path = "cumulus/parachains/runtimes/people/people-roco
people-westend-emulated-chain = { path = "cumulus/parachains/integration-tests/emulated/chains/parachains/people/people-westend" }
people-westend-runtime = { path = "cumulus/parachains/runtimes/people/people-westend" }
pin-project = { version = "1.1.3" }
platforms = { version = "3.4" }
polkadot-approval-distribution = { path = "polkadot/node/network/approval-distribution", default-features = false }
polkadot-availability-bitfield-distribution = { path = "polkadot/node/network/bitfield-distribution", default-features = false }
polkadot-availability-distribution = { path = "polkadot/node/network/availability-distribution", default-features = false }
Expand Down Expand Up @@ -1209,7 +1208,6 @@ schnorrkel = { version = "0.11.4", default-features = false }
seccompiler = { version = "0.4.0" }
secp256k1 = { version = "0.28.0", default-features = false }
secrecy = { version = "0.8.0", default-features = false }
separator = { version = "0.4.1" }
serde = { version = "1.0.214", default-features = false }
serde-big-array = { version = "0.3.2" }
serde_derive = { version = "1.0.117" }
Expand Down Expand Up @@ -1372,7 +1370,6 @@ void = { version = "1.0.2" }
w3f-bls = { version = "0.1.3", default-features = false }
wait-timeout = { version = "0.2" }
walkdir = { version = "2.5.0" }
wasm-bindgen-test = { version = "0.3.19" }
wasm-instrument = { version = "0.4", default-features = false }
wasm-opt = { version = "0.116" }
wasm-timer = { version = "0.2.5" }
Expand Down
1 change: 0 additions & 1 deletion bridges/relays/utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ anyhow = { workspace = true, default-features = true }
async-std = { workspace = true }
async-trait = { workspace = true }
backoff = { workspace = true }
console = { workspace = true }
futures = { workspace = true }
isahc = { workspace = true }
jsonpath_lib = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion bridges/snowbridge/pallets/ethereum-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ serde = { workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
snowbridge-pallet-ethereum-client-fixtures = { workspace = true, default-features = true }
sp-io = { workspace = true, default-features = true }
sp-keyring = { workspace = true, default-features = true }

[features]
default = ["std"]
Expand Down
1 change: 0 additions & 1 deletion bridges/snowbridge/pallets/outbound-queue/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ snowbridge-outbound-queue-merkle-tree = { workspace = true }

[dev-dependencies]
pallet-message-queue = { workspace = true }
sp-keyring = { workspace = true, default-features = true }

[features]
default = ["std"]
Expand Down
1 change: 0 additions & 1 deletion bridges/snowbridge/pallets/system/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ pallet-balances = { workspace = true, default-features = true }
pallet-message-queue = { workspace = true, default-features = true }
polkadot-primitives = { workspace = true, default-features = true }
snowbridge-pallet-outbound-queue = { workspace = true, default-features = true }
sp-keyring = { workspace = true, default-features = true }

[features]
default = ["std"]
Expand Down
1 change: 0 additions & 1 deletion bridges/snowbridge/primitives/ethereum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ ethabi = { workspace = true }
[dev-dependencies]
rand = { workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
wasm-bindgen-test = { workspace = true }

[features]
default = ["std"]
Expand Down
2 changes: 0 additions & 2 deletions cumulus/client/network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ polkadot-primitives = { workspace = true, default-features = true }
cumulus-relay-chain-interface = { workspace = true, default-features = true }

[dev-dependencies]
portpicker = { workspace = true }
rstest = { workspace = true }
tokio = { features = ["macros"], workspace = true, default-features = true }
url = { workspace = true }
Expand All @@ -51,7 +50,6 @@ sp-consensus = { workspace = true, default-features = true }
sp-core = { workspace = true, default-features = true }
sp-keyring = { workspace = true, default-features = true }
sp-keystore = { workspace = true, default-features = true }
substrate-test-utils = { workspace = true }

# Polkadot
polkadot-test-client = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions cumulus/client/pov-recovery/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ cumulus-relay-chain-interface = { workspace = true, default-features = true }
[dev-dependencies]
assert_matches = { workspace = true }
cumulus-test-client = { workspace = true }
portpicker = { workspace = true }
rstest = { workspace = true }
sc-utils = { workspace = true, default-features = true }
sp-blockchain = { workspace = true, default-features = true }
Expand All @@ -54,4 +53,3 @@ cumulus-test-service = { workspace = true }
# Substrate
sc-cli = { workspace = true, default-features = true }
sc-client-api = { workspace = true, default-features = true }
substrate-test-utils = { workspace = true }
3 changes: 0 additions & 3 deletions cumulus/client/relay-chain-inprocess-interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,3 @@ sp-keyring = { workspace = true, default-features = true }
metered = { features = ["futures_channel"], workspace = true }
polkadot-primitives = { workspace = true, default-features = true }
polkadot-test-client = { workspace = true }

# Cumulus
cumulus-test-service = { workspace = true }
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ pallet-message-queue = { workspace = true }
pallet-multisig = { workspace = true }
pallet-nft-fractionalization = { workspace = true }
pallet-nfts = { workspace = true }
pallet-nfts-runtime-api = { workspace = true }
pallet-proxy = { workspace = true }
pallet-session = { workspace = true }
pallet-timestamp = { workspace = true }
Expand Down Expand Up @@ -226,7 +225,6 @@ std = [
"pallet-message-queue/std",
"pallet-multisig/std",
"pallet-nft-fractionalization/std",
"pallet-nfts-runtime-api/std",
"pallet-nfts/std",
"pallet-proxy/std",
"pallet-session/std",
Expand Down
2 changes: 0 additions & 2 deletions cumulus/parachains/runtimes/bridge-hubs/test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ bp-relayers = { workspace = true }
bp-runtime = { workspace = true }
bp-test-utils = { workspace = true }
bp-xcm-bridge-hub = { workspace = true }
bridge-runtime-common = { workspace = true }
pallet-bridge-grandpa = { workspace = true }
pallet-bridge-messages = { features = ["test-helpers"], workspace = true }
pallet-bridge-parachains = { workspace = true }
Expand All @@ -69,7 +68,6 @@ std = [
"bp-runtime/std",
"bp-test-utils/std",
"bp-xcm-bridge-hub/std",
"bridge-runtime-common/std",
"codec/std",
"cumulus-pallet-parachain-system/std",
"cumulus-pallet-xcmp-queue/std",
Expand Down
3 changes: 0 additions & 3 deletions cumulus/polkadot-parachain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ asset-hub-westend-runtime = { workspace = true }
bridge-hub-rococo-runtime = { workspace = true, default-features = true }
bridge-hub-westend-runtime = { workspace = true, default-features = true }
collectives-westend-runtime = { workspace = true }
contracts-rococo-runtime = { workspace = true }
coretime-rococo-runtime = { workspace = true }
coretime-westend-runtime = { workspace = true }
glutton-westend-runtime = { workspace = true }
Expand Down Expand Up @@ -70,7 +69,6 @@ runtime-benchmarks = [
"bridge-hub-rococo-runtime/runtime-benchmarks",
"bridge-hub-westend-runtime/runtime-benchmarks",
"collectives-westend-runtime/runtime-benchmarks",
"contracts-rococo-runtime/runtime-benchmarks",
"coretime-rococo-runtime/runtime-benchmarks",
"coretime-westend-runtime/runtime-benchmarks",
"glutton-westend-runtime/runtime-benchmarks",
Expand All @@ -88,7 +86,6 @@ try-runtime = [
"bridge-hub-rococo-runtime/try-runtime",
"bridge-hub-westend-runtime/try-runtime",
"collectives-westend-runtime/try-runtime",
"contracts-rococo-runtime/try-runtime",
"coretime-rococo-runtime/try-runtime",
"coretime-westend-runtime/try-runtime",
"glutton-westend-runtime/try-runtime",
Expand Down
2 changes: 0 additions & 2 deletions cumulus/test/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ cumulus-pallet-parachain-system = { workspace = true }
cumulus-pallet-weight-reclaim = { workspace = true }
cumulus-primitives-aura = { workspace = true }
cumulus-primitives-core = { workspace = true }
pallet-collator-selection = { workspace = true }
parachain-info = { workspace = true }

[build-dependencies]
Expand All @@ -69,7 +68,6 @@ std = [
"pallet-aura/std",
"pallet-authorship/std",
"pallet-balances/std",
"pallet-collator-selection/std",
"pallet-glutton/std",
"pallet-message-queue/std",
"pallet-session/std",
Expand Down
5 changes: 0 additions & 5 deletions cumulus/test/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ cumulus-client-collator = { workspace = true, default-features = true }
cumulus-client-consensus-aura = { workspace = true, default-features = true }
cumulus-client-consensus-common = { workspace = true, default-features = true }
cumulus-client-consensus-proposer = { workspace = true, default-features = true }
cumulus-client-consensus-relay-chain = { workspace = true, default-features = true }
cumulus-client-parachain-inherent = { workspace = true, default-features = true }
cumulus-client-pov-recovery = { workspace = true, default-features = true }
cumulus-client-service = { workspace = true, default-features = true }
Expand All @@ -89,20 +88,17 @@ cumulus-relay-chain-minimal-node = { workspace = true, default-features = true }
cumulus-test-relay-sproof-builder = { workspace = true, default-features = true }
cumulus-test-runtime = { workspace = true }
pallet-timestamp = { workspace = true, default-features = true }
parachains-common = { workspace = true, default-features = true }

[dev-dependencies]
cumulus-test-client = { workspace = true }
futures = { workspace = true }
portpicker = { workspace = true }
sp-authority-discovery = { workspace = true, default-features = true }

# Polkadot dependencies
polkadot-test-service = { workspace = true }

# Substrate dependencies
sc-cli = { workspace = true, default-features = true }
substrate-test-utils = { workspace = true }

[features]
runtime-benchmarks = [
Expand All @@ -113,7 +109,6 @@ runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"pallet-transaction-payment/runtime-benchmarks",
"parachains-common/runtime-benchmarks",
"polkadot-cli/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
"polkadot-service/runtime-benchmarks",
Expand Down
1 change: 0 additions & 1 deletion cumulus/xcm/xcm-emulator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ sp-tracing = { workspace = true, default-features = true }

# Cumulus
cumulus-pallet-parachain-system = { workspace = true, default-features = true }
cumulus-pallet-xcmp-queue = { workspace = true, default-features = true }
cumulus-primitives-core = { workspace = true, default-features = true }
cumulus-primitives-parachain-inherent = { workspace = true, default-features = true }
cumulus-test-relay-sproof-builder = { workspace = true, default-features = true }
Expand Down
2 changes: 0 additions & 2 deletions polkadot/node/metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,13 @@ prometheus-endpoint = { workspace = true, default-features = true }
sc-tracing = { workspace = true, default-features = true }

[dev-dependencies]
assert_cmd = { workspace = true }
http-body-util = { workspace = true }
hyper = { workspace = true }
hyper-util = { features = ["client-legacy", "tokio"], workspace = true }
polkadot-test-service = { features = ["runtime-metrics"], workspace = true }
prometheus-parse = { workspace = true }
sc-service = { workspace = true, default-features = true }
sp-keyring = { workspace = true, default-features = true }
substrate-test-utils = { workspace = true }
tempfile = { workspace = true }
tokio = { workspace = true, default-features = true }

Expand Down
1 change: 0 additions & 1 deletion polkadot/node/test/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ substrate-test-client = { workspace = true }

[dev-dependencies]
pallet-balances = { workspace = true }
substrate-test-utils = { workspace = true }
tokio = { features = ["macros"], workspace = true, default-features = true }

[features]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,5 @@ polkadot-test-service = { workspace = true }

sc-service = { workspace = true, default-features = true }
sp-keyring = { workspace = true, default-features = true }
substrate-test-utils = { workspace = true }

tokio = { features = ["macros"], workspace = true, default-features = true }
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,5 @@ polkadot-test-service = { workspace = true }

sc-service = { workspace = true, default-features = true }
sp-keyring = { workspace = true, default-features = true }
substrate-test-utils = { workspace = true }

tokio = { features = ["macros"], workspace = true, default-features = true }
4 changes: 0 additions & 4 deletions polkadot/runtime/parachains/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ pallet-mmr = { workspace = true, optional = true }
pallet-session = { workspace = true }
pallet-staking = { workspace = true }
pallet-timestamp = { workspace = true }
pallet-vesting = { workspace = true }

polkadot-primitives = { workspace = true }
xcm = { workspace = true }
Expand Down Expand Up @@ -96,7 +95,6 @@ std = [
"pallet-session/std",
"pallet-staking/std",
"pallet-timestamp/std",
"pallet-vesting/std",
"polkadot-core-primitives/std",
"polkadot-parachain-primitives/std",
"polkadot-primitives/std",
Expand Down Expand Up @@ -131,7 +129,6 @@ runtime-benchmarks = [
"pallet-mmr/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"pallet-vesting/runtime-benchmarks",
"polkadot-parachain-primitives/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
"sp-application-crypto",
Expand All @@ -156,7 +153,6 @@ try-runtime = [
"pallet-session/try-runtime",
"pallet-staking/try-runtime",
"pallet-timestamp/try-runtime",
"pallet-vesting/try-runtime",
"sp-runtime/try-runtime",
]
runtime-metrics = [
Expand Down
10 changes: 0 additions & 10 deletions polkadot/runtime/rococo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,12 @@ pallet-beefy = { workspace = true }
pallet-beefy-mmr = { workspace = true }
pallet-bounties = { workspace = true }
pallet-child-bounties = { workspace = true }
pallet-collective = { workspace = true }
pallet-conviction-voting = { workspace = true }
pallet-democracy = { workspace = true }
pallet-elections-phragmen = { workspace = true }
pallet-grandpa = { workspace = true }
pallet-identity = { workspace = true }
pallet-indices = { workspace = true }
pallet-membership = { workspace = true }
pallet-message-queue = { workspace = true }
pallet-migrations = { workspace = true }
pallet-mmr = { workspace = true }
Expand Down Expand Up @@ -115,12 +113,10 @@ xcm-runtime-apis = { workspace = true }

[dev-dependencies]
remote-externalities = { workspace = true, default-features = true }
separator = { workspace = true }
serde_json = { workspace = true, default-features = true }
sp-keyring = { workspace = true, default-features = true }
sp-tracing = { workspace = true }
sp-trie = { workspace = true, default-features = true }
tiny-keccak = { features = ["keccak"], workspace = true }
tokio = { features = ["macros"], workspace = true, default-features = true }

[build-dependencies]
Expand Down Expand Up @@ -151,14 +147,12 @@ std = [
"pallet-beefy/std",
"pallet-bounties/std",
"pallet-child-bounties/std",
"pallet-collective/std",
"pallet-conviction-voting/std",
"pallet-democracy/std",
"pallet-elections-phragmen/std",
"pallet-grandpa/std",
"pallet-identity/std",
"pallet-indices/std",
"pallet-membership/std",
"pallet-message-queue/std",
"pallet-migrations/std",
"pallet-mmr/std",
Expand Down Expand Up @@ -234,14 +228,12 @@ runtime-benchmarks = [
"pallet-beefy-mmr/runtime-benchmarks",
"pallet-bounties/runtime-benchmarks",
"pallet-child-bounties/runtime-benchmarks",
"pallet-collective/runtime-benchmarks",
"pallet-conviction-voting/runtime-benchmarks",
"pallet-democracy/runtime-benchmarks",
"pallet-elections-phragmen/runtime-benchmarks",
"pallet-grandpa/runtime-benchmarks",
"pallet-identity/runtime-benchmarks",
"pallet-indices/runtime-benchmarks",
"pallet-membership/runtime-benchmarks",
"pallet-message-queue/runtime-benchmarks",
"pallet-migrations/runtime-benchmarks",
"pallet-mmr/runtime-benchmarks",
Expand Down Expand Up @@ -294,14 +286,12 @@ try-runtime = [
"pallet-beefy/try-runtime",
"pallet-bounties/try-runtime",
"pallet-child-bounties/try-runtime",
"pallet-collective/try-runtime",
"pallet-conviction-voting/try-runtime",
"pallet-democracy/try-runtime",
"pallet-elections-phragmen/try-runtime",
"pallet-grandpa/try-runtime",
"pallet-identity/try-runtime",
"pallet-indices/try-runtime",
"pallet-membership/try-runtime",
"pallet-message-queue/try-runtime",
"pallet-migrations/try-runtime",
"pallet-mmr/try-runtime",
Expand Down
1 change: 0 additions & 1 deletion polkadot/runtime/test-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ hex-literal = { workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
sp-keyring = { workspace = true, default-features = true }
sp-trie = { workspace = true, default-features = true }
tiny-keccak = { features = ["keccak"], workspace = true }

[build-dependencies]
substrate-wasm-builder = { workspace = true, default-features = true }
Expand Down
Loading
Loading