diff --git a/Cargo.toml b/Cargo.toml index 1679b2a6e..54ebdfdac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,6 +33,9 @@ webbrowser = { version = "0.8.2", optional = true } arboard = { version = "3.2.0", optional = true } thread_local = { version = "1.1.0", optional = true } +[target.'cfg(target_arch = "wasm32")'.dependencies] +web-sys = "=0.3.64" + [dev-dependencies] once_cell = "1.16.0" version-sync = "0.9.4"