Cargo Features

[dependencies]
sp-state-machine = { version = "0.40.0", default-features = false, features = ["std"] }
default = std

The std feature is set by default whenever sp-state-machine is added without default-features = false somewhere in the dependency tree.

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

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.

parking_lot std
rand std
thiserror std
tracing std
sp-panic-handler std