From 1b96ca323986647bf987cd0ef0e3ae81ece3d44b Mon Sep 17 00:00:00 2001 From: Oleksandr Kozachuk Date: Tue, 3 Jan 2023 11:15:40 +0100 Subject: [PATCH] Some WASM changes, not ready yet. --- helwasm/Cargo.toml | 4 ++++ helwasm/index.html | 15 ++++++++++++++- helwasm/src/lib.rs | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/helwasm/Cargo.toml b/helwasm/Cargo.toml index ac69c18..67b19fd 100644 --- a/helwasm/Cargo.toml +++ b/helwasm/Cargo.toml @@ -14,3 +14,7 @@ crate-type = ["cdylib"] [dependencies] hel = { version = "0.1.0", path = "../hel" } wasm-bindgen = "0.2.83" + +[dependencies.web-sys] +version = "0.3.4" +features = [ 'Document' ] diff --git a/helwasm/index.html b/helwasm/index.html index c405715..2e46921 100644 --- a/helwasm/index.html +++ b/helwasm/index.html @@ -1,6 +1,7 @@ + @@ -75,6 +76,18 @@
+