-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
37 lines (33 loc) · 1.15 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[package]
name = "sp-npos-elections"
version = "3.0.0"
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.101", optional = true, features = ["derive"] }
sp-std = { version = "3.0.0", default-features = false, path = "../std" }
sp-npos-elections-compact = { version = "3.0.0", path = "./compact" }
sp-arithmetic = { version = "3.0.0", default-features = false, path = "../arithmetic" }
sp-core = { version = "3.0.0", default-features = false, path = "../core" }
[dev-dependencies]
substrate-test-utils = { version = "3.0.0", path = "../../test-utils" }
rand = "0.7.3"
sp-runtime = { version = "3.0.0", path = "../runtime" }
[features]
default = ["std"]
bench = []
std = [
"codec/std",
"serde",
"sp-std/std",
"sp-arithmetic/std",
"sp-core/std",
]