mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 00:31:07 +00:00
break sp-api dependency cycle (#4352)
* move benches into tests, ignore non-passing doctests * Rename sr-api folder * Move test-primitives to primitives, use that for sp-api doctests
This commit is contained in:
committed by
Bastian Köcher
parent
f6f0f1cc16
commit
8721d98dd6
@@ -0,0 +1,28 @@
|
||||
[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 }
|
||||
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]
|
||||
sp-test-primitives = { path = "../test-primitives" }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"primitives/std",
|
||||
"sp-std/std",
|
||||
"sp-runtime/std",
|
||||
"state-machine",
|
||||
"sp-version/std",
|
||||
]
|
||||
Reference in New Issue
Block a user