mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
f7bcbdd261
* Partially applied * Everything builds, need to implement compact encoding as well. * Fix some tests, add a ui test as well. * Fix everything and everything. * small nits * a bunch more rename * more reorg * more reorg * last nit of self-review * Seemingly fixed the build now * Fix build * make it work again * Update primitives/npos-elections/solution-type/src/lib.rs Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com> * Update primitives/npos-elections/solution-type/src/lib.rs Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com> * nits * factor out double type * fix try-build Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
38 lines
1.2 KiB
TOML
38 lines
1.2 KiB
TOML
[package]
|
|
name = "sp-npos-elections"
|
|
version = "4.0.0-dev"
|
|
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"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
|
|
serde = { version = "1.0.126", optional = true, features = ["derive"] }
|
|
sp-std = { version = "4.0.0-dev", default-features = false, path = "../std" }
|
|
sp-npos-elections-solution-type = { version = "4.0.0-dev", path = "./solution-type" }
|
|
sp-arithmetic = { version = "4.0.0-dev", default-features = false, path = "../arithmetic" }
|
|
sp-core = { version = "4.0.0-dev", default-features = false, path = "../core" }
|
|
|
|
[dev-dependencies]
|
|
substrate-test-utils = { version = "4.0.0-dev", path = "../../test-utils" }
|
|
rand = "0.7.3"
|
|
sp-runtime = { version = "4.0.0-dev", path = "../runtime" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
bench = []
|
|
std = [
|
|
"codec/std",
|
|
"serde",
|
|
"sp-std/std",
|
|
"sp-arithmetic/std",
|
|
"sp-core/std",
|
|
]
|