[package]
name = "sp-npos-elections-solution-type"
version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
description = "NPoS Solution Type"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[lib]
proc-macro = true

[dependencies]
syn = { version = "1.0.82", features = ["full", "visit"] }
quote = "1.0"
proc-macro2 = "1.0.36"
proc-macro-crate = "1.1.0"

[dev-dependencies]
parity-scale-codec = "2.3.1"
scale-info = "1.0"
sp-arithmetic = { path = "../../arithmetic", version = "4.0.0" }
# used by generate_solution_type:
sp-npos-elections = { path = "..", version = "4.0.0-dev" }
trybuild = "1.0.53"
