5a48ce4498
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.
115 lines
3.8 KiB
TOML
115 lines
3.8 KiB
TOML
[package]
|
|
name = "pezpallet-staking"
|
|
version = "28.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
description = "FRAME pezpallet staking"
|
|
readme = "README.md"
|
|
documentation.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { features = ["derive"], workspace = true }
|
|
log = { workspace = true }
|
|
pezframe-election-provider-support = { workspace = true }
|
|
pezframe-support = { workspace = true }
|
|
pezframe-system = { workspace = true }
|
|
pezpallet-authorship = { workspace = true }
|
|
pezpallet-session = { features = ["historical"], workspace = true }
|
|
pezsp-application-crypto = { features = ["serde"], workspace = true }
|
|
pezsp-io = { workspace = true }
|
|
pezsp-runtime = { features = ["serde"], workspace = true }
|
|
pezsp-staking = { features = ["serde"], workspace = true }
|
|
scale-info = { features = ["derive", "serde"], workspace = true }
|
|
serde = { features = ["alloc", "derive"], workspace = true }
|
|
|
|
# Optional imports for benchmarking
|
|
pezframe-benchmarking = { optional = true, workspace = true }
|
|
rand_chacha = { optional = true, workspace = true }
|
|
|
|
[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 = [
|
|
"experimental",
|
|
], workspace = true, default-features = true }
|
|
pezpallet-bags-list = { workspace = true, default-features = true }
|
|
pezpallet-balances = { workspace = true, default-features = true }
|
|
pezpallet-staking-reward-curve = { workspace = true, default-features = true }
|
|
pezpallet-timestamp = { workspace = true, default-features = true }
|
|
pezsp-core = { workspace = true, default-features = true }
|
|
pezsp-npos-elections = { workspace = true, default-features = true }
|
|
pezsp-tracing = { workspace = true, default-features = true }
|
|
rand_chacha = { workspace = true, default-features = true }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"log/std",
|
|
"pezframe-benchmarking?/std",
|
|
"pezframe-election-provider-support/std",
|
|
"pezframe-support/std",
|
|
"pezframe-system/std",
|
|
"pezpallet-authorship/std",
|
|
"pezpallet-bags-list/std",
|
|
"pezpallet-balances/std",
|
|
"pezpallet-session/std",
|
|
"pezpallet-staking-reward-curve/std",
|
|
"pezpallet-timestamp/std",
|
|
"pezsp-application-crypto/std",
|
|
"pezsp-io/std",
|
|
"pezsp-npos-elections/std",
|
|
"pezsp-runtime/std",
|
|
"pezsp-staking/std",
|
|
"pezsp-tracing/std",
|
|
"scale-info/std",
|
|
"serde/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"pezframe-benchmarking/runtime-benchmarks",
|
|
"pezframe-election-provider-support/runtime-benchmarks",
|
|
"pezframe-support/runtime-benchmarks",
|
|
"pezframe-system/runtime-benchmarks",
|
|
"pezpallet-authorship/runtime-benchmarks",
|
|
"pezpallet-bags-list/runtime-benchmarks",
|
|
"pezpallet-balances/runtime-benchmarks",
|
|
"pezpallet-session/runtime-benchmarks",
|
|
"pezpallet-staking-reward-curve/runtime-benchmarks",
|
|
"pezpallet-timestamp/runtime-benchmarks",
|
|
"pezsp-application-crypto/runtime-benchmarks",
|
|
"pezsp-io/runtime-benchmarks",
|
|
"pezsp-npos-elections/runtime-benchmarks",
|
|
"pezsp-runtime/runtime-benchmarks",
|
|
"pezsp-staking/runtime-benchmarks",
|
|
"rand_chacha",
|
|
]
|
|
try-runtime = [
|
|
"pezframe-benchmarking?/try-runtime",
|
|
"pezframe-election-provider-support/try-runtime",
|
|
"pezframe-support/try-runtime",
|
|
"pezframe-system/try-runtime",
|
|
"pezpallet-authorship/try-runtime",
|
|
"pezpallet-bags-list/try-runtime",
|
|
"pezpallet-balances/try-runtime",
|
|
"pezpallet-session/try-runtime",
|
|
"pezpallet-staking-reward-curve/try-runtime",
|
|
"pezpallet-timestamp/try-runtime",
|
|
"pezsp-npos-elections/try-runtime",
|
|
"pezsp-runtime/try-runtime",
|
|
"pezsp-staking/try-runtime",
|
|
]
|
|
serde = []
|
|
experimental = []
|
|
with-tracing = []
|
|
tuples-96 = []
|