Remove sp-runtime dependency from sp-phragmen (#5786)

* Remove sp-runtime dependency from sp-phragmen

* Use regular derive(Debug) instead of RuntimeDebug
This commit is contained in:
Stanislav Tkach
2020-04-28 18:21:10 +03:00
committed by GitHub
parent 4fa5941f44
commit d870eb23e1
11 changed files with 35 additions and 33 deletions
+3 -2
View File
@@ -15,13 +15,14 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.101", optional = true, features = ["derive"] }
sp-std = { version = "2.0.0-dev", default-features = false, path = "../std" }
sp-runtime = { version = "2.0.0-dev", default-features = false, path = "../../primitives/runtime" }
sp-phragmen-compact = { version = "2.0.0-dev", path = "./compact" }
sp-arithmetic = { version = "2.0.0-dev", default-features = false, path = "../arithmetic" }
[dev-dependencies]
substrate-test-utils = { version = "2.0.0-dev", path = "../../test-utils" }
rand = "0.7.3"
sp-phragmen = { version = "2.0.0-dev", path = "." }
sp-runtime = { version = "2.0.0-dev", path = "../../primitives/runtime" }
[features]
default = ["std"]
@@ -30,5 +31,5 @@ std = [
"codec/std",
"serde",
"sp-std/std",
"sp-runtime/std",
"sp-arithmetic/std",
]