fix: restore dev-dependencies for clippy --all-targets --all-features
Uncomment dev-dependencies that were previously commented out to break circular dependencies. These dependencies are needed for tests to compile when running clippy with --all-targets --all-features. Changes include: - pezkuwi/node/*: Add pezkuwi-node-subsystem-test-helpers, pezkuwi-primitives-test-helpers - pezkuwi/xcm/*: Add pezpallet-xcm, xcm-pez-simulator - pezcumulus/client/*: Add test client, runtime, and sproof builder deps - bizinikiwi/pezframe/*: Add bizinikiwi-test-utils, pezframe-support-test, pezpallet-transaction-payment, pezpallet-example-basic, etc. - vendor/pezkuwi-zombienet-sdk: Fix imports from zombienet_sdk to pezkuwi_zombienet_sdk All runtime-benchmarks feature flags have been updated accordingly. cargo clippy --all-targets --all-features --workspace now passes.
This commit is contained in:
@@ -29,7 +29,7 @@ pezsp-mmr-primitives = { workspace = true, default-features = true }
|
||||
pezsp-runtime = { workspace = true, default-features = true }
|
||||
|
||||
[dev-dependencies]
|
||||
# bizinikiwi-test-runtime-client = { workspace = true }
|
||||
bizinikiwi-test-runtime-client = { workspace = true }
|
||||
parking_lot = { workspace = true, default-features = true }
|
||||
pezsc-block-builder = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
@@ -37,7 +37,7 @@ tokio = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
# "bizinikiwi-test-runtime-client/runtime-benchmarks",
|
||||
"bizinikiwi-test-runtime-client/runtime-benchmarks",
|
||||
"pezsc-block-builder/runtime-benchmarks",
|
||||
"pezsc-client-api/runtime-benchmarks",
|
||||
"pezsc-offchain/runtime-benchmarks",
|
||||
|
||||
@@ -40,8 +40,8 @@ pezsp-core = { optional = true, workspace = true }
|
||||
pezsp-io = { optional = true, workspace = true }
|
||||
pezsp-tracing = { optional = true, workspace = true }
|
||||
|
||||
# bizinikiwi-test-utils moved to integration tests to break circular dependency
|
||||
[dev-dependencies]
|
||||
bizinikiwi-test-utils = { workspace = true }
|
||||
pezframe-benchmarking = { workspace = true, default-features = true }
|
||||
pezframe-election-provider-support = { workspace = true, default-features = true }
|
||||
pezpallet-balances = { workspace = true, default-features = true }
|
||||
|
||||
@@ -27,12 +27,12 @@ pezsp-core = { workspace = true }
|
||||
pezsp-runtime = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
|
||||
# pezpallet-transaction-payment moved to integration tests to break circular dependency
|
||||
[dev-dependencies]
|
||||
paste = { workspace = true, default-features = true }
|
||||
pezframe-support = { features = [
|
||||
"experimental",
|
||||
], workspace = true, default-features = true }
|
||||
pezpallet-transaction-payment = { workspace = true, default-features = true }
|
||||
pezsp-io = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
@@ -54,6 +54,7 @@ runtime-benchmarks = [
|
||||
"pezframe-benchmarking/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"pezpallet-transaction-payment/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -35,9 +35,10 @@ scale-info = { features = ["derive"], workspace = true }
|
||||
serde = { optional = true, workspace = true, default-features = true }
|
||||
static_assertions = { workspace = true, default-features = true }
|
||||
|
||||
# Dev-dependencies with pezsc-client-db moved to integration tests to break circular dependency
|
||||
[dev-dependencies]
|
||||
array-bytes = { workspace = true, default-features = true }
|
||||
pezpallet-example-basic = { workspace = true, default-features = true }
|
||||
pezsc-client-db = { workspace = true, default-features = true }
|
||||
pezsp-externalities = { workspace = true }
|
||||
pezsp-keystore = { workspace = true, default-features = true }
|
||||
pezsp-state-machine = { workspace = true }
|
||||
@@ -69,6 +70,7 @@ runtime-benchmarks = [
|
||||
"pezframe-support-procedural/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"pezpallet-example-basic/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-application-crypto/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
|
||||
@@ -29,8 +29,8 @@ pezsp-runtime = { workspace = true }
|
||||
pezsp-staking = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
|
||||
# bizinikiwi-test-utils moved to integration tests to break circular dependency
|
||||
[dev-dependencies]
|
||||
bizinikiwi-test-utils = { workspace = true }
|
||||
pezpallet-balances = { workspace = true, default-features = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
|
||||
@@ -29,9 +29,11 @@ pezsp-runtime = { workspace = true }
|
||||
pezsp-tracing = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
|
||||
# Dev-dependencies with test-runtime-client and pallets moved to integration tests
|
||||
[dev-dependencies]
|
||||
array-bytes = { workspace = true, default-features = true }
|
||||
bizinikiwi-test-runtime-client = { workspace = true }
|
||||
pezpallet-balances = { workspace = true, default-features = true }
|
||||
pezpallet-transaction-payment = { workspace = true, default-features = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-inherents = { workspace = true, default-features = true }
|
||||
pezsp-io = { workspace = true, default-features = true }
|
||||
@@ -67,9 +69,12 @@ try-runtime = [
|
||||
"pezsp-version/try-runtime",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"bizinikiwi-test-runtime-client/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"pezframe-try-runtime?/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezpallet-transaction-payment/runtime-benchmarks",
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
|
||||
@@ -23,8 +23,8 @@ pezframe-system = { workspace = true }
|
||||
pezsp-runtime = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
|
||||
# pezframe-support-test moved to integration tests to break circular dependency
|
||||
[dev-dependencies]
|
||||
pezframe-support-test = { workspace = true }
|
||||
pezpallet-balances = { workspace = true, default-features = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-io = { workspace = true, default-features = true }
|
||||
|
||||
@@ -20,8 +20,9 @@ pezframe-system = { workspace = true }
|
||||
pezsp-runtime = { features = ["serde"], workspace = true }
|
||||
scale-info = { features = ["derive", "serde"], workspace = true }
|
||||
|
||||
# Dev-dependencies with test-runtime-client and wasm-builder moved to integration tests
|
||||
[dev-dependencies]
|
||||
bizinikiwi-test-runtime-client = { workspace = true }
|
||||
bizinikiwi-wasm-builder = { workspace = true, default-features = true }
|
||||
frame-metadata = { features = [
|
||||
"current",
|
||||
"unstable",
|
||||
@@ -29,6 +30,7 @@ frame-metadata = { features = [
|
||||
merkleized-metadata = { workspace = true }
|
||||
pezsp-api = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
pezsp-transaction-pool = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
@@ -42,10 +44,12 @@ std = [
|
||||
"scale-info/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"bizinikiwi-test-runtime-client/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-transaction-pool/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezframe-support/try-runtime",
|
||||
|
||||
@@ -28,9 +28,9 @@ pezframe-system = { workspace = true }
|
||||
pezsp-core = { workspace = true }
|
||||
pezsp-runtime = { workspace = true }
|
||||
|
||||
# pezpallet-example-basic moved to integration tests to break circular dependency
|
||||
[dev-dependencies]
|
||||
pezpallet-balances = { workspace = true, default-features = true }
|
||||
pezpallet-example-basic = { workspace = true, default-features = true }
|
||||
pezsp-io = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
@@ -50,6 +50,7 @@ runtime-benchmarks = [
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezpallet-example-basic/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -25,8 +25,8 @@ pezsp-runtime = { workspace = true }
|
||||
pezsp-weights = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
|
||||
# bizinikiwi-test-utils moved to integration tests to break circular dependency
|
||||
[dev-dependencies]
|
||||
bizinikiwi-test-utils = { workspace = true }
|
||||
pezpallet-preimage = { workspace = true, default-features = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
|
||||
|
||||
@@ -29,8 +29,8 @@ pezsp-arithmetic = { workspace = true }
|
||||
pezsp-io = { workspace = true }
|
||||
pezsp-runtime = { workspace = true }
|
||||
|
||||
# pezframe-support-test moved to integration tests to break circular dependency
|
||||
[dev-dependencies]
|
||||
pezframe-support-test = { workspace = true }
|
||||
pezpallet-balances = { workspace = true, default-features = true }
|
||||
pezsp-crypto-hashing = { workspace = true, default-features = true }
|
||||
|
||||
|
||||
@@ -35,8 +35,8 @@ serde = { features = ["alloc", "derive"], workspace = true }
|
||||
pezframe-benchmarking = { optional = true, workspace = true }
|
||||
rand_chacha = { optional = true, workspace = true }
|
||||
|
||||
# bizinikiwi-test-utils moved to integration tests to break circular dependency
|
||||
[dev-dependencies]
|
||||
bizinikiwi-test-utils = { workspace = true }
|
||||
pezframe-benchmarking = { workspace = true, default-features = true }
|
||||
pezframe-election-provider-support = { workspace = true, default-features = true }
|
||||
pezframe-support = { features = [
|
||||
|
||||
@@ -53,9 +53,9 @@ tt-call = { workspace = true }
|
||||
|
||||
aquamarine = { workspace = true }
|
||||
|
||||
# Dev-dependencies with pezframe-system moved to pezframe-support-test to break circular dependency
|
||||
[dev-dependencies]
|
||||
Inflector = { workspace = true }
|
||||
pezframe-system = { workspace = true, default-features = true }
|
||||
pezsp-crypto-hashing = { workspace = true, default-features = true }
|
||||
pretty_assertions = { workspace = true }
|
||||
|
||||
@@ -92,6 +92,7 @@ std = [
|
||||
runtime-benchmarks = [
|
||||
"pez-binary-merkle-tree/runtime-benchmarks",
|
||||
"pezframe-support-procedural/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-genesis-builder/runtime-benchmarks",
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
|
||||
@@ -34,8 +34,8 @@ pezsp-weights = { features = ["serde"], workspace = true }
|
||||
scale-info = { features = ["derive", "serde"], workspace = true }
|
||||
serde = { features = ["alloc", "derive"], workspace = true }
|
||||
|
||||
# Dev-dependencies with test-runtime-client moved to integration tests to break circular dependency
|
||||
[dev-dependencies]
|
||||
bizinikiwi-test-runtime-client = { workspace = true }
|
||||
criterion = { workspace = true, default-features = true }
|
||||
pezsp-externalities = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
@@ -55,6 +55,7 @@ std = [
|
||||
"serde/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"bizinikiwi-test-runtime-client/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
|
||||
@@ -26,10 +26,10 @@ pezsp-io = { workspace = true }
|
||||
pezsp-runtime = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
|
||||
# pezpallet-root-testing moved to integration tests to break circular dependency
|
||||
[dev-dependencies]
|
||||
pezpallet-balances = { workspace = true, default-features = true }
|
||||
pezpallet-collective = { workspace = true, default-features = true }
|
||||
pezpallet-root-testing = { workspace = true, default-features = true }
|
||||
pezpallet-timestamp = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
@@ -50,6 +50,7 @@ runtime-benchmarks = [
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezpallet-collective/runtime-benchmarks",
|
||||
"pezpallet-root-testing/runtime-benchmarks",
|
||||
"pezpallet-timestamp/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
|
||||
@@ -24,6 +24,9 @@ pezsp-runtime = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
serde = { features = ["alloc", "derive"], optional = true, workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
bizinikiwi-test-utils = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
bench = []
|
||||
|
||||
@@ -37,14 +37,14 @@ pezsp-runtime = { workspace = true, default-features = true }
|
||||
|
||||
[dev-dependencies]
|
||||
assert_matches = { workspace = true }
|
||||
# bizinikiwi-test-runtime-client = { workspace = true }
|
||||
bizinikiwi-test-runtime-client = { workspace = true }
|
||||
pezsc-transaction-pool = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
tokio = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
# "bizinikiwi-test-runtime-client/runtime-benchmarks",
|
||||
"bizinikiwi-test-runtime-client/runtime-benchmarks",
|
||||
"pezframe-system-rpc-runtime-api/runtime-benchmarks",
|
||||
"pezsc-rpc-api/runtime-benchmarks",
|
||||
"pezsc-transaction-pool-api/runtime-benchmarks",
|
||||
|
||||
Reference in New Issue
Block a user