Cargo Features
[dependencies]
pallet-ismp = { version = "1.15.1", default-features = false, features = ["std", "disable-panic-handler", "try-runtime", "unsigned", "runtime-benchmarks", "testing"] }
- default = std
-
The
std
feature is set by default wheneverpallet-ismp
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables serde, std of sp-api, sp-core, sp-io, sp-mmr-primitives, sp-runtime, and sp-std and std of anyhow, parity-scale-codec, frame-benchmarking ^37.0.0, frame-support ^37.0.0, frame-system ^37.0.0, ismp, log, mmr-primitives, and scale-info
frame-benchmarking:
substrate
- disable-panic-handler
-
Enables disable_allocator, disable_oom and disable_panic_handler of sp-io
- try-runtime
-
Enables try-runtime of frame-support ^37.0.0, frame-system ^37.0.0, and sp-runtime
- unsigned
- runtime-benchmarks
-
Enables runtime-benchmarks of frame-benchmarking ^37.0.0, frame-support ^37.0.0, and frame-system ^37.0.0
- testing dev
-
Enables std of pallet-timestamp ^36.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.