[package] name = "sp-state-machine" version = "0.43.0" authors.workspace = true description = "Substrate State Machine (polkadot v1.15.0)" 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 = { workspace = true } hash-db = { workspace = true } log = { workspace = true } parking_lot = { optional = true, workspace = true, default-features = true } rand = { optional = true, workspace = true, default-features = true } smallvec = { workspace = true, default-features = true } thiserror = { optional = true, workspace = true } tracing = { optional = true, workspace = true, default-features = true } sp-core.workspace = true sp-externalities.workspace = true sp-panic-handler = { optional = true, workspace = true, default-features = true } sp-trie.workspace = true trie-db = { workspace = true } arbitrary = { features = ["derive"], optional = true, workspace = true } [dev-dependencies] array-bytes = { workspace = true, default-features = true } pretty_assertions = { workspace = true } rand = { workspace = true, default-features = true } sp-runtime = { default-features = true, path = "../runtime" } assert_matches = { workspace = true } arbitrary = { features = ["derive"], workspace = true } [features] default = ["std"] fuzzing = ["arbitrary"] std = [ "codec/std", "hash-db/std", "log/std", "parking_lot", "rand", "sp-core/std", "sp-externalities/std", "sp-panic-handler", "sp-trie/std", "thiserror", "tracing", "trie-db/std", ]