[package] authors.workspace = true description = "Simple pallet to select collators for a parachain." edition.workspace = true homepage.workspace = true license = "Apache-2.0" name = "pallet-collator-selection" readme = "README.md" repository.workspace = true version = "19.0.0" [lints] workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] log = { workspace = true } codec = { features = ["derive"], workspace = true } rand = { features = ["std_rng"], workspace = true } scale-info = { features = ["derive"], workspace = true } sp-runtime.workspace = true sp-staking.workspace = true frame-support.workspace = true frame-system.workspace = true pallet-authorship.workspace = true pallet-balances.workspace = true pallet-session.workspace = true frame-benchmarking = { optional = true, workspace = true } [dev-dependencies] sp-core = { default-features = true, path = "../../../substrate/primitives/core" } sp-io = { default-features = true, path = "../../../substrate/primitives/io" } sp-tracing = { default-features = true, path = "../../../substrate/primitives/tracing" } sp-runtime = { default-features = true, path = "../../../substrate/primitives/runtime" } pallet-timestamp = { default-features = true, path = "../../../substrate/frame/timestamp" } sp-consensus-aura = { default-features = true, path = "../../../substrate/primitives/consensus/aura" } pallet-aura = { default-features = true, path = "../../../substrate/frame/aura" } [features] default = ["std"] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-balances/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "sp-staking/runtime-benchmarks", ] std = [ "codec/std", "frame-benchmarking/std", "frame-support/std", "frame-system/std", "log/std", "pallet-authorship/std", "pallet-balances/std", "pallet-session/std", "rand/std", "scale-info/std", "sp-runtime/std", "sp-staking/std", ] try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", "pallet-authorship/try-runtime", "pallet-balances/try-runtime", "pallet-session/try-runtime", "sp-runtime/try-runtime", ]