Cargo Features
[dependencies]
pallet-curveless-staking = { version = "0.1.0", default-features = false, features = ["std", "runtime-benchmarks"] }
- default = std
-
The
std
feature is set by default wheneverpallet-curveless-staking
is added without
somewhere in the dependency tree.default-features = false - std default = serde
-
Enables std of parity-scale-codec ^2.0.0, frame-support ^3.0.0, frame-system ^3.0.0, pallet-authorship ^3.0.0, pallet-session ^3.0.0, sp-application-crypto ^3.0.0, sp-io ^3.0.0, sp-npos-elections ^3.0.0, sp-runtime ^3.0.0, sp-staking ^3.0.0, and sp-std ^3.0.0
- runtime-benchmarks = frame-benchmarking, rand_chacha
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.
- serde std
- frame-benchmarking runtime-benchmarks?
-
Enables frame-benchmarking ^3.0.0
Optional imports for benchmarking
- rand_chacha runtime-benchmarks?
-
Enables rand_chacha ^0.2