Make substrate-offchain compile for WASM again (#3965)

* Make substrate-offchain compile for WASM again

* Minor adjustments
This commit is contained in:
Pierre Krieger
2019-10-30 12:08:46 +01:00
committed by Tomasz Drwięga
parent 678ec6899c
commit 5de3393297
4 changed files with 121 additions and 2 deletions
+4 -2
View File
@@ -13,8 +13,6 @@ fnv = "1.0.6"
futures01 = { package = "futures", version = "0.1" }
futures-preview = "0.3.0-alpha.19"
futures-timer = "0.4.0"
hyper = "0.12.35"
hyper-tls = "0.3.2"
log = "0.4.8"
threadpool = "1.7"
num_cpus = "1.10"
@@ -28,6 +26,10 @@ transaction_pool = { package = "substrate-transaction-pool", path = "../../core/
network = { package = "substrate-network", path = "../../core/network" }
keystore = { package = "substrate-keystore", path = "../keystore" }
[target.'cfg(not(target_os = "unknown"))'.dependencies]
hyper = "0.12.35"
hyper-tls = "0.3.2"
[dev-dependencies]
env_logger = "0.7.0"
client-db = { package = "substrate-client-db", path = "../../core/client/db/", default-features = true }