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

[dependencies]
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false }
sp-api-proc-macro = { path = "proc-macro" }
primitives = { package = "sp-core", path = "../core", default-features = false }
rstd = { package = "sp-std", path = "../sr-std", default-features = false }
sp-runtime = { path = "../sr-primitives", default-features = false }
sp-version = { path = "../sr-version", default-features = false }
state-machine = { package = "sp-state-machine", path = "../../primitives/state-machine", optional = true }

[dev-dependencies]
criterion = "0.3.0"
test-client = { package = "substrate-test-runtime-client", path = "../../test/utils/runtime/client" }

[[bench]]
name = "bench"
harness = false

[features]
default = [ "std" ]
std = [
	"codec/std",
	"primitives/std",
	"rstd/std",
	"sp-runtime/std",
	"state-machine",
	"sp-version/std",
]
