Skip to content

Commit 5056822

Browse files
authoredSep 2, 2024
Pin web-sys dependency to < 0.3.70. (#159)
This allows `eframe_template` to compile when switching from `glow` to `wgpu` backend. Fixes #158.
1 parent 18a8e76 commit 5056822

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ wasm-bindgen-futures = "0.4"
3333

3434
# to access the DOM (to hide the loading text)
3535
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
36-
version = "0.3.4"
36+
# HACK: pin web-sys to <0.3.70 until a new `eframe` is released containing
37+
# the following PR: https://github.com/emilk/egui/pull/4980
38+
version = ">= 0.3.4, < 0.3.70"
3739

3840
[profile.release]
3941
opt-level = 2 # fast and small wasm

0 commit comments

Comments
 (0)