mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 00:25:41 +00:00
f8e0e41e15
* make instantiable * update * cargo fmt * Clean up * bags-list: Make it generic over node value * Respond to some feedback * Apply suggestions from code review Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Add back default impl for weight update worst case * Update to Score in more places' * Use VoteWeight, not u64 to reduce test diff * FMT * FullCodec implies Codec * formatting * Fixup bags list remote test Co-authored-by: doordashcon <jesse.chejieh@gmail.com> Co-authored-by: Doordashcon <90750465+Doordashcon@users.noreply.github.com> Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
41 lines
1.6 KiB
TOML
41 lines
1.6 KiB
TOML
[package]
|
|
name = "frame-election-provider-support"
|
|
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 = "election provider supporting traits"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
|
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
|
|
sp-std = { version = "4.0.0", default-features = false, path = "../../primitives/std" }
|
|
sp-arithmetic = { version = "5.0.0", default-features = false, path = "../../primitives/arithmetic" }
|
|
sp-npos-elections = { version = "4.0.0-dev", default-features = false, path = "../../primitives/npos-elections" }
|
|
sp-runtime = { version = "6.0.0", default-features = false, path = "../../primitives/runtime" }
|
|
frame-support = { version = "4.0.0-dev", default-features = false, path = "../support" }
|
|
frame-system = { version = "4.0.0-dev", default-features = false, path = "../system" }
|
|
|
|
[dev-dependencies]
|
|
sp-npos-elections = { version = "4.0.0-dev", path = "../../primitives/npos-elections" }
|
|
sp-core = { version = "6.0.0", path = "../../primitives/core" }
|
|
sp-io = { version = "6.0.0", path = "../../primitives/io" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"sp-std/std",
|
|
"sp-npos-elections/std",
|
|
"sp-arithmetic/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
]
|
|
runtime-benchmarks = []
|