Cargo Features
[dependencies]
pallet-example-kitchensink = { version = "9.0.0", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks"] }
- default = std
-
The
std
feature is set by default wheneverpallet-example-kitchensink
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of parity-scale-codec, optional frame-benchmarking ^27.0.0, frame-support ^27.0.0, frame-system ^27.0.0, log, pallet-balances ^27.0.0, scale-info, sp-io ^29.0.0, sp-runtime ^30.0.1, and sp-std ^13.0.0
- try-runtime
-
Enables try-runtime of frame-support ^27.0.0, frame-system ^27.0.0, pallet-balances ^27.0.0, and sp-runtime ^30.0.1
- runtime-benchmarks
-
Enables runtime-benchmarks of frame-benchmarking ^27.0.0, frame-support ^27.0.0, frame-system ^27.0.0, pallet-balances ^27.0.0, and sp-runtime ^30.0.1
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.