Cargo Features
[dependencies]
sp-phragmen = { version = "2.0.0-rc2", default-features = false, features = ["std", "bench"] }
- default = std
-
The
std
feature is set by default wheneversp-phragmen
is added without
somewhere in the dependency tree.default-features = false - std default = serde
-
Enables std of parity-scale-codec ^1.0.0, sp-arithmetic ^2.0.0-rc2, and sp-std ^2.0.0-rc2
- bench
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.