mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 11:21:07 +00:00
bfe240d1b0
* phragmen election module. * Add new files. * Some doc update * Update weights. * bump and a few nits. * Performance improvement. * Master.into() * Update srml/elections-phragmen/src/lib.rs Co-Authored-By: Gavin Wood <gavin@parity.io> * Fix build * Some fixes. * Fix build. * Proper outgoing and runner-up managment. * Bit more sensical weight values. * Update srml/elections-phragmen/src/lib.rs * Update srml/elections-phragmen/src/lib.rs Co-Authored-By: Gavin Wood <gavin@parity.io> * Update srml/elections-phragmen/src/lib.rs Co-Authored-By: Gavin Wood <gavin@parity.io> * Update srml/elections-phragmen/src/lib.rs Co-Authored-By: Gavin Wood <gavin@parity.io> * fix lock file * Fix build. * Remove runner-ups * Some refactors. * Add support for reporting voters. * Fix member check. * Remove equlize.rs * Update srml/elections-phragmen/src/lib.rs * Update srml/elections-phragmen/src/lib.rs * Update srml/elections-phragmen/src/lib.rs Co-Authored-By: Gavin Wood <gavin@parity.io> * Update srml/elections-phragmen/src/lib.rs Co-Authored-By: Gavin Wood <gavin@parity.io> * Bring back runner ups. * use decode_len * Better weight values. * Update bogus doc * Bump. * Update srml/elections-phragmen/src/lib.rs Co-Authored-By: Gavin Wood <gavin@parity.io> * Review comments. * One more test * Fix tests * Fix build * .. and fix benchmarks. * Update srml/elections-phragmen/src/lib.rs * Version bump
35 lines
1.2 KiB
TOML
35 lines
1.2 KiB
TOML
[package]
|
|
name = "srml-elections-phragmen"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0", optional = true }
|
|
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
|
|
primitives = { package = "substrate-primitives", path = "../../core/primitives", default-features = false }
|
|
runtime_io = { package = "sr-io", path = "../../core/sr-io", default-features = false }
|
|
sr-primitives = { path = "../../core/sr-primitives", default-features = false }
|
|
phragmen = { package = "substrate-phragmen", path = "../../core/phragmen", default-features = false }
|
|
srml-support = { path = "../support", default-features = false }
|
|
system = { package = "srml-system", path = "../system", default-features = false }
|
|
rstd = { package = "sr-std", path = "../../core/sr-std", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
hex-literal = "0.2.0"
|
|
balances = { package = "srml-balances", path = "../balances" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"primitives/std",
|
|
"serde",
|
|
"runtime_io/std",
|
|
"srml-support/std",
|
|
"sr-primitives/std",
|
|
"phragmen/std",
|
|
"system/std",
|
|
"rstd/std",
|
|
]
|