Cargo Features
[dependencies]
pallet-ismp = { version = "1.15.0", 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 parity-scale-codec, frame-benchmarking, frame-support, frame-system, 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, frame-system, and sp-runtime
- unsigned
- runtime-benchmarks
-
Enables runtime-benchmarks of frame-benchmarking, frame-support, and frame-system
- testing dev
-
Enables std of pallet-timestamp
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.