Cargo Features
[dependencies]
pallet-parachain-template = { version = "0.9.0", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks"] }
- default = std
-
The
std
feature is set by default wheneverpallet-parachain-template
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of parity-scale-codec, frame-benchmarking ^30.0.0, frame-support ^30.0.0, frame-system ^30.0.0, and scale-info
frame-benchmarking:
Substrate
- try-runtime
-
Enables try-runtime of frame-support ^30.0.0 and frame-system ^30.0.0
- runtime-benchmarks
-
Enables runtime-benchmarks of frame-benchmarking ^30.0.0, frame-support ^30.0.0, and frame-system ^30.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.