snapshot before rebranding
This commit is contained in:
@@ -8,6 +8,7 @@ homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "NPoS election algorithm primitives"
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-npos-elections"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -30,20 +31,20 @@ bizinikiwi-test-utils = { workspace = true }
|
||||
default = ["std"]
|
||||
bench = []
|
||||
std = [
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-arithmetic/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-runtime/std",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-arithmetic/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-runtime/std",
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-arithmetic/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-arithmetic/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
]
|
||||
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
|
||||
|
||||
@@ -36,14 +36,14 @@ path = "src/phragmen_pjr.rs"
|
||||
clap = { features = ["derive"], workspace = true }
|
||||
honggfuzz = { workspace = true }
|
||||
rand = { features = [
|
||||
"small_rng",
|
||||
"std",
|
||||
"small_rng",
|
||||
"std",
|
||||
], workspace = true, default-features = true }
|
||||
pezsp-npos-elections = { workspace = true, default-features = true }
|
||||
pezsp-runtime = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-npos-elections/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-npos-elections/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user