Skip to content

Commit 6b17df5

Browse files
dimartirogithub-actions[bot]bkontur
authored
Remove unused deps (#9235)
# Description Remove unused deps using `cargo udeps` Part of: #6906 --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Branislav Kontur <[email protected]>
1 parent 86d2a41 commit 6b17df5

File tree

15 files changed

+34
-96
lines changed

15 files changed

+34
-96
lines changed

Cargo.lock

Lines changed: 0 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bridges/snowbridge/runtime/runtime-common/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ frame-support = { workspace = true }
2020
frame-system = { workspace = true }
2121
log = { workspace = true }
2222
pallet-xcm = { workspace = true }
23-
snowbridge-core = { workspace = true }
24-
snowbridge-outbound-queue-primitives = { workspace = true }
2523
sp-arithmetic = { workspace = true }
2624
sp-std = { workspace = true }
2725
xcm = { workspace = true }
@@ -38,8 +36,6 @@ std = [
3836
"frame-system/std",
3937
"log/std",
4038
"pallet-xcm/std",
41-
"snowbridge-core/std",
42-
"snowbridge-outbound-queue-primitives/std",
4339
"sp-arithmetic/std",
4440
"sp-std/std",
4541
"xcm-builder/std",
@@ -50,7 +46,6 @@ runtime-benchmarks = [
5046
"frame-support/runtime-benchmarks",
5147
"frame-system/runtime-benchmarks",
5248
"pallet-xcm/runtime-benchmarks",
53-
"snowbridge-core/runtime-benchmarks",
5449
"xcm-builder/runtime-benchmarks",
5550
"xcm-executor/runtime-benchmarks",
5651
"xcm/runtime-benchmarks",

bridges/snowbridge/test-utils/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ frame-support = { workspace = true, default-features = true }
2222
frame-system = { workspace = true, default-features = true }
2323
log = { workspace = true, default-features = true }
2424
pallet-asset-conversion = { workspace = true, default-features = true }
25-
pallet-xcm = { workspace = true, default-features = true }
2625
scale-info = { features = ["derive"], workspace = true, default-features = true }
2726
snowbridge-core = { workspace = true, default-features = true }
2827
snowbridge-outbound-queue-primitives = { workspace = true, default-features = true }
@@ -37,7 +36,6 @@ runtime-benchmarks = [
3736
"frame-support/runtime-benchmarks",
3837
"frame-system/runtime-benchmarks",
3938
"pallet-asset-conversion/runtime-benchmarks",
40-
"pallet-xcm/runtime-benchmarks",
4139
"snowbridge-core/runtime-benchmarks",
4240
"xcm-builder/runtime-benchmarks",
4341
"xcm-executor/runtime-benchmarks",

cumulus/client/bootnodes/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ sp-runtime = { workspace = true, default-features = true }
3636
# Polkadot
3737

3838
# Cumulus
39-
cumulus-client-network = { workspace = true, default-features = true }
4039
cumulus-primitives-core = { workspace = true, default-features = true }
4140
cumulus-relay-chain-interface = { workspace = true, default-features = true }
4241
parachains-common = { workspace = true, default-features = true }

cumulus/pallets/ah-ops/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ exclude-from-umbrella = true # for AHM only
1212

1313
[dependencies]
1414
codec = { workspace = true, features = ["max-encoded-len"] }
15-
cumulus-primitives-core = { workspace = true }
1615
frame-benchmarking = { workspace = true, optional = true }
1716
frame-support = { workspace = true }
1817
frame-system = { workspace = true }
@@ -31,7 +30,6 @@ sp-std = { workspace = true }
3130
default = ["std"]
3231
std = [
3332
"codec/std",
34-
"cumulus-primitives-core/std",
3533
"frame-benchmarking?/std",
3634
"frame-support/std",
3735
"frame-system/std",
@@ -47,7 +45,6 @@ std = [
4745
"sp-std/std",
4846
]
4947
runtime-benchmarks = [
50-
"cumulus-primitives-core/runtime-benchmarks",
5148
"frame-benchmarking/runtime-benchmarks",
5249
"frame-support/runtime-benchmarks",
5350
"frame-system/runtime-benchmarks",

cumulus/parachains/integration-tests/emulated/common/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ pallet-asset-conversion = { workspace = true, default-features = true }
2323
pallet-assets = { workspace = true, default-features = true }
2424
pallet-balances = { workspace = true, default-features = true }
2525
pallet-message-queue = { workspace = true, default-features = true }
26-
pallet-preimage = { workspace = true, default-features = true }
2726
pallet-whitelist = { workspace = true, default-features = true }
2827
sc-consensus-grandpa = { workspace = true, default-features = true }
2928
sp-authority-discovery = { workspace = true, default-features = true }

cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/Cargo.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ bp-parachains = { workspace = true }
9494
bp-polkadot-bulletin = { workspace = true }
9595
bp-polkadot-core = { workspace = true }
9696
bp-relayers = { workspace = true }
97-
bp-rococo = { workspace = true }
9897
bp-runtime = { workspace = true }
9998
bp-westend = { workspace = true }
10099
bp-xcm-bridge-hub-router = { workspace = true }
@@ -116,7 +115,6 @@ snowbridge-pallet-ethereum-client = { workspace = true }
116115
snowbridge-pallet-inbound-queue = { workspace = true }
117116
snowbridge-pallet-outbound-queue = { workspace = true }
118117
snowbridge-pallet-system = { workspace = true }
119-
snowbridge-runtime-common = { workspace = true }
120118
snowbridge-system-runtime-api = { workspace = true }
121119

122120
bridge-hub-common = { workspace = true }
@@ -141,7 +139,6 @@ std = [
141139
"bp-polkadot-bulletin/std",
142140
"bp-polkadot-core/std",
143141
"bp-relayers/std",
144-
"bp-rococo/std",
145142
"bp-runtime/std",
146143
"bp-westend/std",
147144
"bp-xcm-bridge-hub-router/std",
@@ -201,7 +198,6 @@ std = [
201198
"snowbridge-pallet-inbound-queue/std",
202199
"snowbridge-pallet-outbound-queue/std",
203200
"snowbridge-pallet-system/std",
204-
"snowbridge-runtime-common/std",
205201
"snowbridge-system-runtime-api/std",
206202
"sp-api/std",
207203
"sp-block-builder/std",
@@ -262,7 +258,6 @@ runtime-benchmarks = [
262258
"snowbridge-pallet-inbound-queue/runtime-benchmarks",
263259
"snowbridge-pallet-outbound-queue/runtime-benchmarks",
264260
"snowbridge-pallet-system/runtime-benchmarks",
265-
"snowbridge-runtime-common/runtime-benchmarks",
266261
"snowbridge-runtime-test-common/runtime-benchmarks",
267262
"sp-runtime/runtime-benchmarks",
268263
"xcm-builder/runtime-benchmarks",
@@ -303,7 +298,6 @@ try-runtime = [
303298
"snowbridge-pallet-inbound-queue/try-runtime",
304299
"snowbridge-pallet-outbound-queue/try-runtime",
305300
"snowbridge-pallet-system/try-runtime",
306-
"snowbridge-runtime-common/try-runtime",
307301
"sp-runtime/try-runtime",
308302
]
309303
fast-runtime = []

cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/Cargo.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ bp-polkadot-core = { workspace = true }
9393
bp-relayers = { workspace = true }
9494
bp-rococo = { workspace = true }
9595
bp-runtime = { workspace = true }
96-
bp-westend = { workspace = true }
9796
bp-xcm-bridge-hub-router = { workspace = true }
9897
bridge-hub-common = { workspace = true }
9998
bridge-runtime-common = { workspace = true }
@@ -118,7 +117,6 @@ snowbridge-pallet-outbound-queue = { workspace = true }
118117
snowbridge-pallet-outbound-queue-v2 = { workspace = true }
119118
snowbridge-pallet-system = { workspace = true }
120119
snowbridge-pallet-system-v2 = { workspace = true }
121-
snowbridge-runtime-common = { workspace = true }
122120
snowbridge-system-runtime-api = { workspace = true }
123121
snowbridge-system-v2-runtime-api = { workspace = true }
124122

@@ -145,7 +143,6 @@ std = [
145143
"bp-relayers/std",
146144
"bp-rococo/std",
147145
"bp-runtime/std",
148-
"bp-westend/std",
149146
"bp-xcm-bridge-hub-router/std",
150147
"bridge-hub-common/std",
151148
"bridge-runtime-common/std",
@@ -206,7 +203,6 @@ std = [
206203
"snowbridge-pallet-outbound-queue/std",
207204
"snowbridge-pallet-system-v2/std",
208205
"snowbridge-pallet-system/std",
209-
"snowbridge-runtime-common/std",
210206
"snowbridge-system-runtime-api/std",
211207
"snowbridge-system-v2-runtime-api/std",
212208
"sp-api/std",
@@ -274,7 +270,6 @@ runtime-benchmarks = [
274270
"snowbridge-pallet-outbound-queue/runtime-benchmarks",
275271
"snowbridge-pallet-system-v2/runtime-benchmarks",
276272
"snowbridge-pallet-system/runtime-benchmarks",
277-
"snowbridge-runtime-common/runtime-benchmarks",
278273
"snowbridge-runtime-test-common/runtime-benchmarks",
279274
"sp-runtime/runtime-benchmarks",
280275
"westend-runtime-constants/runtime-benchmarks",
@@ -320,7 +315,6 @@ try-runtime = [
320315
"snowbridge-pallet-outbound-queue/try-runtime",
321316
"snowbridge-pallet-system-v2/try-runtime",
322317
"snowbridge-pallet-system/try-runtime",
323-
"snowbridge-runtime-common/try-runtime",
324318
"sp-runtime/try-runtime",
325319
]
326320

cumulus/parachains/runtimes/testing/yet-another-parachain/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ cumulus-primitives-core = { workspace = true }
6666
cumulus-primitives-utility = { workspace = true }
6767
parachain-info = { workspace = true }
6868
parachains-common = { workspace = true }
69-
testnet-parachains-constants = { features = ["rococo"], workspace = true }
7069

7170
[build-dependencies]
7271
substrate-wasm-builder = { optional = true, workspace = true, default-features = true }
@@ -120,7 +119,6 @@ std = [
120119
"sp-transaction-pool/std",
121120
"sp-version/std",
122121
"substrate-wasm-builder",
123-
"testnet-parachains-constants/std",
124122
"xcm-builder/std",
125123
"xcm-executor/std",
126124
"xcm/std",

cumulus/primitives/parachain-inherent/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ sp-trie = { workspace = true }
2424
# Cumulus
2525
cumulus-primitives-core = { workspace = true }
2626

27-
[dev-dependencies]
28-
cumulus-test-relay-sproof-builder = { workspace = true, default-features = true }
29-
3027
[features]
3128
default = ["std"]
3229
std = [

0 commit comments

Comments
 (0)