From 94ccfd270f32442b479ce21f56d8fcfadb9e84d4 Mon Sep 17 00:00:00 2001 From: Craig Bester Date: Mon, 20 Sep 2021 09:58:35 +0200 Subject: [PATCH] Fix wasm compilation (#404) Explicitly enable tokio "rt" feature to fix compilation of bee-runtime dependency. --- bindings/wasm/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/wasm/Cargo.toml b/bindings/wasm/Cargo.toml index b6ed9c2d83..e7f20ba89f 100644 --- a/bindings/wasm/Cargo.toml +++ b/bindings/wasm/Cargo.toml @@ -20,6 +20,7 @@ futures = { version = "0.3" } js-sys = { version = "0.3" } serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0", default-features = false } +tokio = { version = "*", default-features = false, features = ["rt"] } # enable "rt" feature to fix build: https://github.com/iotaledger/identity.rs/issues/403 wasm-bindgen = { version = "0.2", features = ["serde-serialize"] } wasm-bindgen-futures = { version = "0.4", default-features = false }