Rename all the election operations (#6245)

* Rename and move sp-phragmen

* More renames for equalise

* Update main module doc

* Fix line width

* Line width
This commit is contained in:
Kian Paimani
2020-06-05 17:33:13 +02:00
committed by GitHub
parent d63b8e0da0
commit 8a8b4f99c3
35 changed files with 296 additions and 322 deletions
@@ -0,0 +1,35 @@
[package]
name = "sp-npos-elections"
version = "2.0.0-rc2"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "Apache-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "NPoS election algorithm primitives"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.101", optional = true, features = ["derive"] }
sp-std = { version = "2.0.0-rc2", default-features = false, path = "../std" }
sp-npos-elections-compact = { version = "2.0.0-rc2", path = "./compact" }
sp-arithmetic = { version = "2.0.0-rc2", default-features = false, path = "../arithmetic" }
[dev-dependencies]
substrate-test-utils = { version = "2.0.0-rc2", path = "../../test-utils" }
rand = "0.7.3"
sp-npos-elections = { version = "2.0.0-rc2", path = "." }
sp-runtime = { version = "2.0.0-rc2", path = "../../primitives/runtime" }
[features]
default = ["std"]
bench = []
std = [
"codec/std",
"serde",
"sp-std/std",
"sp-arithmetic/std",
]