[package] name = "pallet-election-provider-multi-phase" version = "37.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" homepage.workspace = true repository.workspace = true description = "PALLET two phase election providers" [lints] workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { features = [ "derive", ], workspace = true } scale-info = { features = [ "derive", ], workspace = true } log = { workspace = true } frame-support.workspace = true frame-system.workspace = true sp-io.workspace = true sp-core.workspace = true sp-runtime.workspace = true sp-npos-elections.workspace = true sp-arithmetic.workspace = true frame-election-provider-support.workspace = true frame-benchmarking = { optional = true, workspace = true } pallet-election-provider-support-benchmarking = { optional = true, workspace = true } rand = { features = ["alloc", "small_rng"], optional = true, workspace = true } strum = { features = ["derive"], optional = true, workspace = true } [dev-dependencies] parking_lot = { workspace = true, default-features = true } rand = { workspace = true, default-features = true } sp-core = { path = "../../primitives/core", default-features = false } sp-io = { default-features = true, path = "../../primitives/io" } sp-npos-elections = { path = "../../primitives/npos-elections", default-features = false } sp-tracing = { default-features = true, path = "../../primitives/tracing" } pallet-balances = { default-features = true, path = "../balances" } frame-benchmarking = { default-features = true, path = "../benchmarking" } [features] default = ["std"] std = [ "codec/std", "frame-benchmarking?/std", "frame-election-provider-support/std", "frame-support/std", "frame-system/std", "log/std", "pallet-election-provider-support-benchmarking?/std", "rand/std", "scale-info/std", "sp-arithmetic/std", "sp-core/std", "sp-io/std", "sp-npos-elections/std", "sp-runtime/std", "strum/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-election-provider-support/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-election-provider-support-benchmarking?/runtime-benchmarks", "rand", "sp-runtime/runtime-benchmarks", "strum", ] try-runtime = [ "frame-election-provider-support/try-runtime", "frame-support/try-runtime", "frame-system/try-runtime", "sp-runtime/try-runtime", ]