From 1c7e3182019533654aceb6a2f53ba54dce882b6e Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Wed, 22 Nov 2023 14:24:01 +0100 Subject: [PATCH] Add wasm-bindgen-futures --- Cargo.lock | 1 + Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 7c74e2a..fea0bf4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -223,6 +223,7 @@ dependencies = [ "tokio-tungstenite", "url", "wasm-bindgen", + "wasm-bindgen-futures", "wasm-bindgen-test", "ws_stream_wasm", ] diff --git a/Cargo.toml b/Cargo.toml index 24a7114..8ade54c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -68,7 +68,7 @@ hostname = "0.3.1" [target.'cfg(target_arch = "wasm32")'.dependencies] getrandom = { version = "0.2.11", features = ["js"] } ws_stream_wasm = "0.7.4" - +wasm-bindgen-futures = "0.4.38" [dev-dependencies] lazy_static = "1.4.0"