diff --git a/Cargo.lock b/Cargo.lock index 388210a2..c629ca29 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -526,6 +526,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" dependencies = [ "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", ] [[package]] diff --git a/components/dada-web/Cargo.toml b/components/dada-web/Cargo.toml index fa7eb366..03da11fb 100644 --- a/components/dada-web/Cargo.toml +++ b/components/dada-web/Cargo.toml @@ -5,7 +5,7 @@ version = "0.1.0" [dependencies] async-trait = "0.1.52" eyre = "0.6.5" -parking_lot = "0.11.2" +parking_lot = { version = "0.11.2", features = ["wasm-bindgen"] } wasm-bindgen = "0.2.78" wasm-bindgen-futures = "*"