fully refactor runtime-std to use conditional compilation

This commit is contained in:
Robert Habermeier
2018-01-30 23:47:29 +01:00
parent 2c39e247d6
commit 4b2bd5ec72
22 changed files with 946 additions and 124 deletions
+2 -2
View File
@@ -5,9 +5,9 @@ authors = ["Parity Technologies <admin@parity.io>"]
[dependencies]
polkadot-runtime-codec = { path = "../runtime-codec", version = "0.1" }
runtime-std = { path = "./std", version = "0.1" }
polkadot-runtime-std = { path = "../runtime-std", version = "0.1" }
rustc-hex = "1.0"
[features]
default = ["std"]
std = ["polkadot-runtime-codec/std"]
std = ["polkadot-runtime-codec/std", "polkadot-runtime-std/std"]