Cargo Features
[dependencies]
pallet-lo-authority-list = { version = "0.1.1", default-features = false, features = ["std", "runtime-benchmarks"] }
- default = std
-
The
std
feature is set by default wheneverpallet-lo-authority-list
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of parity-scale-codec ^2.0.0, frame-benchmarking ^3.1.0, frame-support ^3.0.0, frame-system ^3.0.0, serde, and sp-std ^3.0.0
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - runtime-benchmarks = frame-benchmarking
-
Enables runtime-benchmarks of frame-support ^3.0.0 and frame-system ^3.0.0
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.