Cargo Features
[dependencies]
pallet-pair = { version = "0.1.0", default-features = false, features = ["std", "runtime-benchmarks"] }
- default = std
-
The
std
feature is set by default wheneverpallet-pair
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, and sp-std ^3.0.0
- 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.