[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-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-io/runtime-benchmarks", "pezsp-npos-elections/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", "pezsp-staking/runtime-benchmarks", "rand_chacha", ] 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-timestamp/try-runtime", "pezsp-runtime/try-runtime", ]