Cargo Features
[dependencies]
sp-npos-elections = { version = "34.0.0", default-features = false, features = ["std", "bench", "serde"] }
- default = std
-
The
std
feature is set by default wheneversp-npos-elections
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of parity-scale-codec, scale-info, serde, sp-arithmetic, sp-core, and sp-runtime
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - bench
- serde std
-
Serde support without relying on std features.
Enables serde, serde of scale-info, serde of sp-arithmetic, sp-core, and sp-runtime