Cargo Features
[dependencies]
sp-state-machine = { version = "0.43.0", default-features = false, features = ["std", "fuzzing"] }
- default = std
-
The
std
feature is set by default wheneversp-state-machine
is added without
somewhere in the dependency tree.default-features = false - std default = parking_lot, rand, sp-panic-handler, thiserror, tracing
-
Enables std of parity-scale-codec, hash-db, log, sp-core, sp-externalities, sp-trie, and trie-db
Affects
backend::AsTrieBackend
,backend::BackendRuntimeCode
,ext::Error
,sp-state-machine::DefaultError
,overlayed_changes::StorageChanges.transaction_index_changes
,overlayed_changes::OverlayedExtension
,overlayed_changes::OverlayedExtensions
,stats::UsageInfo.started
,stats::UsageInfo.span
,trie_backend::create_proof_check_backend
… - fuzzing = arbitrary
-
Affects
sp-state-machine::fuzzing
…
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.