[package]
name = "sp-state-machine"
version = "0.24.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Substrate State Machine"
edition = "2021"
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
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.2.2", default-features = false }
hash-db = { version = "0.15.2", 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.8.0"
thiserror = { version = "1.0.30", optional = true }
tracing = { version = "0.1.29", optional = true }
sp-core = { version = "18.0.0", default-features = false}
sp-externalities = { version = "0.18.0", default-features = false}
sp-panic-handler = { version = "7.0.0", optional = true}
sp-std = { version = "7.0.0", default-features = false}
sp-trie = { version = "18.0.0", default-features = false}
[dev-dependencies]
array-bytes = "4.1"
pretty_assertions = "1.2.1"
rand = "0.8.5"
sp-runtime = { path = "../runtime" }
trie-db = "0.25.1"
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",
]