[package]
name = "sp-runtime"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
serde = { version = "1.0.101", optional = true, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
primitives = { package = "sp-core",  path = "../core", default-features = false }
app-crypto = { package = "sc-application-crypto",  path = "../application-crypto", default-features = false }
arithmetic = { package = "sp-arithmetic",  path = "../sr-arithmetic", default-features = false }
rstd = { package = "sp-std", path = "../sr-std", default-features = false }
runtime_io = { package = "sp-io", path = "../sr-io", default-features = false }
log = { version = "0.4.8", optional = true }
paste = "0.1.6"
rand = { version = "0.7.2", optional = true }
impl-trait-for-tuples = "0.1.3"
inherents = { package = "sp-inherents", path = "../inherents", default-features = false }

[dev-dependencies]
serde_json = "1.0.41"
rand = "0.7.2"

[features]
bench = []
default = ["std"]
std = [
	"app-crypto/std",
	"arithmetic/std",
	"codec/std",
	"log",
	"primitives/std",
	"rand",
	"rstd/std",
	"runtime_io/std",
	"serde",
	"inherents/std",
]
