From 3986b51aa246cda0631aa54e999cdecbd6af4c43 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Mon, 11 Mar 2024 14:06:30 +0100 Subject: [PATCH] Stop pinning `web-sys` wgpu takes care of this now, as of 0.19.3. --- Cargo.lock | 1 - crates/fj-viewer/Cargo.toml | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8ebe5b77f..10df355a3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -951,7 +951,6 @@ dependencies = [ "thiserror", "tobj", "tracing", - "web-sys", "wgpu", ] diff --git a/crates/fj-viewer/Cargo.toml b/crates/fj-viewer/Cargo.toml index 90c75db7f..5ee320f64 100644 --- a/crates/fj-viewer/Cargo.toml +++ b/crates/fj-viewer/Cargo.toml @@ -41,13 +41,3 @@ features = ["webgl"] [target.'cfg(target_arch = "wasm32")'.dependencies.getrandom] version = "0.2.12" features = ["js"] - -# We don't depend on `web-sys` directly, but `wgpu` does. And we're enabling -# experimental features of `web-sys` to support WebGPU, and it seems that -# `web-sys` makes breaking changes to those in path versions. -# -# See https://github.com/gfx-rs/wgpu/issues/5243. -# -# Here, we pin `web-sys` to a known-good version. -[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] -version = "=0.3.67"