Cargo Features
[dependencies]
polimec-common = { version = "0.9.0-beta.0", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks"] }
- default = std
-
The
std
feature is set by default wheneverpolimec-common
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of optional frame-benchmarking ^35.0.0, frame-support ^35.0.0, frame-system ^35.0.0, jwt-compact-frame, pallet-timestamp ^34.0.0, parity-scale-codec, scale-info, serde, sp-runtime =38.0.0, sp-std, and staging-xcm ^14.0.0
jwt-compact-frame:
Enables
std
-specific functionality (such as error types implementing the standardError
trait). - try-runtime
-
Enables try-runtime of frame-support ^35.0.0, frame-system ^35.0.0, pallet-timestamp ^34.0.0, and sp-runtime =38.0.0
- runtime-benchmarks
-
Enables runtime-benchmarks of frame-benchmarking ^35.0.0, frame-support ^35.0.0, frame-system ^35.0.0, pallet-timestamp ^34.0.0, and sp-runtime =38.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.