[package] name = "sp-api" version = "2.0.0" authors = ["Parity Technologies "] 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 } sp-std = { path = "../std", default-features = false } sp-runtime = { path = "../runtime", 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" } sp-runtime = { path = "../runtime" } sp-version = { path = "../sr-version" } [[bench]] name = "bench" harness = false [features] default = [ "std" ] std = [ "codec/std", "primitives/std", "sp-std/std", "sp-runtime/std", "state-machine", "sp-version/std", ]