[package]
name = "sp-state-machine"
version = "0.8.0-rc6"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Substrate State Machine"
edition = "2018"
license = "Apache-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
documentation = "https://docs.rs/sp-state-machine"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
log = { version = "0.4.8", optional = true }
parking_lot = { version = "0.10.0", optional = true }
hash-db = { version = "0.15.2", default-features = false }
trie-db = { version = "0.22.0", default-features = false }
trie-root = { version = "0.16.0", default-features = false }
sp-trie = { version = "2.0.0-rc6", path = "../trie", default-features = false }
sp-core = { version = "2.0.0-rc6", path = "../core", default-features = false }
sp-panic-handler = { version = "2.0.0-rc6", path = "../panic-handler", optional = true }
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false }
num-traits = { version = "0.2.8", default-features = false }
rand = { version = "0.7.2", optional = true }
sp-externalities = { version = "0.8.0-rc6", path = "../externalities", default-features = false }
smallvec = "1.4.1"
sp-std = { version = "2.0.0-rc6", default-features = false, path = "../std" }

[dev-dependencies]
hex-literal = "0.3.1"
sp-runtime = { version = "2.0.0-rc6", path = "../runtime" }
pretty_assertions = "0.6.1"

[features]
default = ["std"]
std = [
	"codec/std",
	"hash-db/std",
	"num-traits/std",
  "sp-core/std",
  "sp-externalities/std",
  "sp-std/std",
	"sp-trie/std",
	"trie-db/std",
	"trie-root/std",
	"log",
	"parking_lot",
	"rand",
  "sp-panic-handler",
]
