Skip to content

Commit f9f5ee6

Browse files
authored
Enabled feature "WorkerGlobalScope" on web-sys
Allows `window` to be in scope on web workers
1 parent 2859241 commit f9f5ee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pin-utils = "0.1.0"
1616
js-sys = "0.3.31"
1717
wasm-bindgen = "0.2.37"
1818
wasm-bindgen-futures = "0.4.4"
19-
web-sys = { version = "0.3.31", features = ["Performance", "Window"] }
19+
web-sys = { version = "0.3.31", features = ["Performance", "Window", "WorkerGlobalScope"] }
2020

2121
[dev-dependencies]
2222
async-std = "1.0"

0 commit comments

Comments
 (0)