[package] name = "pallet-conviction-voting" version = "38.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" homepage.workspace = true repository.workspace = true description = "FRAME pallet for conviction voting in referenda" readme = "README.md" [lints] workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] assert_matches = { workspace = true } codec = { features = [ "derive", "max-encoded-len", ], workspace = true } scale-info = { features = ["derive"], workspace = true } serde = { features = ["derive"], optional = true, workspace = true, default-features = true } frame-benchmarking = { optional = true, workspace = true } frame-support.workspace = true frame-system.workspace = true sp-io.workspace = true sp-runtime.workspace = true [dev-dependencies] pallet-balances = { default-features = true, path = "../balances" } pallet-scheduler = { default-features = true, path = "../scheduler" } sp-core = { default-features = true, path = "../../primitives/core" } [features] default = ["std"] std = [ "codec/std", "frame-benchmarking?/std", "frame-support/std", "frame-system/std", "scale-info/std", "serde", "sp-io/std", "sp-runtime/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-runtime/runtime-benchmarks", ] try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", "sp-runtime/try-runtime", ]