[package]
name = "sp-state-machine"
version = "0.32.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"
[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 = { version = "0.4.17", default-features = false }
parking_lot = { version = "0.12.1", optional = true }
rand = { version = "0.8.5", optional = true }
smallvec = "1.11.0"
thiserror = { version = "1.0.48", optional = true }
tracing = { version = "0.1.29", optional = true }
sp-core = { path = "../core", default-features = false, version = "25.0.0" }
sp-externalities = { path = "../externalities", default-features = false, version = "0.23.0" }
sp-panic-handler = { path = "../panic-handler", optional = true, version = "12.0.0" }
sp-std = { path = "../std", default-features = false, version = "12.0.0" }
sp-trie = { path = "../trie", default-features = false, version = "26.0.0" }
trie-db = { version = "0.28.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-std/std",
"sp-trie/std",
"thiserror",
"tracing",
"trie-db/std",
]