Cargo Features
[dependencies]
pallet-benchmark = { version = "2.0.0-rc6", default-features = false, features = ["std", "runtime-benchmarks"] }
- default = std
-
The
std
feature is set by default wheneverpallet-benchmark
is added without
somewhere in the dependency tree.default-features = false - std default = serde
-
Enables std of parity-scale-codec ^1.0.0, frame-benchmarking ^2.0.0-rc6, frame-support ^2.0.0-rc6, frame-system ^2.0.0-rc6, sp-io ^2.0.0-rc6, sp-runtime ^2.0.0-rc6, and sp-std ^2.0.0-rc6
- runtime-benchmarks = frame-benchmarking
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.