summaryrefslogtreecommitdiff
path: root/rust/crates/gpu/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'rust/crates/gpu/Cargo.toml')
-rw-r--r--rust/crates/gpu/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/crates/gpu/Cargo.toml b/rust/crates/gpu/Cargo.toml
index 4ee7571e..ff465324 100644
--- a/rust/crates/gpu/Cargo.toml
+++ b/rust/crates/gpu/Cargo.toml
@@ -10,7 +10,7 @@ wgpu = "29.0.1"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2.116"
-web-sys = { version = "0.3.93", features = ["Document", "Window", "HtmlCanvasElement", "OffscreenCanvasRenderingContext2d", "ImageData"] }
+web-sys = { version = "0.3.93", features = ["Document", "Window", "HtmlCanvasElement", "CanvasRenderingContext2d", "OffscreenCanvasRenderingContext2d", "ImageData"] }
[features]
default = []