Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Commit 7b9ce26

Browse files
committed
add window feature
1 parent c4fe733 commit 7b9ce26

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ wasm-bindgen-futures = { version = "0.4.50", optional = true }
3434
anyhow = { version = "1.0.98", default-features = false }
3535
serde = { version = "1.0.219", default-features = false, features = ["derive"] }
3636
serde-wasm-bindgen = "0.6.5"
37-
web-sys = { version = "0.3.77", default-features = false }
37+
web-sys = { version = "0.3.77", default-features = false, features = [
38+
"Window",
39+
] }
3840

3941
# Compatibility to compile to WASM
4042
getrandom = { version = "0.2.16", features = ["js"] }

0 commit comments

Comments
 (0)