[package] name = "sp-state-machine" version = "0.35.0" authors.workspace = true description = "Substrate State Machine" edition.workspace = true license = "Apache-2.0" homepage = "https://substrate.io" repository.workspace = true documentation = "https://docs.rs/sp-state-machine" readme = "README.md" [lints] workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false } hash-db = { version = "0.16.0", default-features = false } log = { workspace = true } parking_lot = { version = "0.12.1", optional = true } rand = { version = "0.8.5", optional = true } smallvec = "1.11.0" thiserror = { optional = true, workspace = true } tracing = { version = "0.1.29", optional = true } sp-core = { path = "../core", default-features = false } sp-externalities = { path = "../externalities", default-features = false } sp-panic-handler = { path = "../panic-handler", optional = true } sp-trie = { path = "../trie", default-features = false } trie-db = { version = "0.29.0", default-features = false } [dev-dependencies] array-bytes = "6.1" pretty_assertions = "1.2.1" rand = "0.8.5" sp-runtime = { path = "../runtime" } assert_matches = "1.5" [features] default = ["std"] std = [ "codec/std", "hash-db/std", "log/std", "parking_lot", "rand", "sp-core/std", "sp-externalities/std", "sp-panic-handler", "sp-runtime/std", "sp-trie/std", "thiserror", "tracing", "trie-db/std", ]