From c42ce5aad266aa15831eee86bd680251290c796e Mon Sep 17 00:00:00 2001 From: Alexis Fontaine Date: Tue, 24 Dec 2024 07:15:29 +0100 Subject: [PATCH] fix: enable `console` feature of `web-sys` --- reactive_graph/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactive_graph/Cargo.toml b/reactive_graph/Cargo.toml index 9551398ed9..f3e19a603e 100644 --- a/reactive_graph/Cargo.toml +++ b/reactive_graph/Cargo.toml @@ -25,7 +25,7 @@ async-lock = "3.4.0" send_wrapper = { version = "0.6.0", features = ["futures"] } [target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies] -web-sys = "0.3.72" +web-sys = { version = "0.3.72", features = ["console"] } [dev-dependencies] tokio = { version = "1.41", features = ["rt-multi-thread", "macros"] }