From 8fa4093a0dd0529c53547e31420175106b14c641 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Mon, 14 Mar 2022 13:18:11 +0900 Subject: [PATCH] Setup dependencies for connection to backend WIP --- front_end/Cargo.lock | 2 ++ front_end/Cargo.toml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/front_end/Cargo.lock b/front_end/Cargo.lock index c11d6f9..86e6f6e 100644 --- a/front_end/Cargo.lock +++ b/front_end/Cargo.lock @@ -43,6 +43,8 @@ dependencies = [ "js-sys", "log", "oorandom", + "wasm-bindgen", + "wasm-bindgen-futures", "wasm-logger", "web-sys", "yew", diff --git a/front_end/Cargo.toml b/front_end/Cargo.toml index e394755..b75322d 100644 --- a/front_end/Cargo.toml +++ b/front_end/Cargo.toml @@ -12,3 +12,5 @@ wasm-logger = "0.2.0" web-sys = { version = "0.3.56", features = ["Window", "Document", "Element"] } js-sys = "0.3.56" oorandom = "11.1.3" +wasm-bindgen = "0.2.79" +wasm-bindgen-futures = "0.4.29"