From c1c7b03aff1a1f5ca2e010f46baf935070426da0 Mon Sep 17 00:00:00 2001 From: Kaur Kuut Date: Sun, 24 Mar 2024 10:37:57 +0200 Subject: [PATCH] Update `wgpu` to v0.19.3 and unpin `web-sys`. (#65) --- .cargo/config.toml | 3 --- Cargo.lock | 5 ++--- Cargo.toml | 5 +---- 3 files changed, 3 insertions(+), 10 deletions(-) delete mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml deleted file mode 100644 index eac64d8..0000000 --- a/.cargo/config.toml +++ /dev/null @@ -1,3 +0,0 @@ -[build] -rustflags = ["--cfg=web_sys_unstable_apis"] -rustdocflags = ["--cfg=web_sys_unstable_apis"] diff --git a/Cargo.lock b/Cargo.lock index f739f8c..239b645 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1792,9 +1792,9 @@ dependencies = [ [[package]] name = "wgpu" -version = "0.19.1" +version = "0.19.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bfe9a310dcf2e6b85f00c46059aaeaf4184caa8e29a1ecd4b7a704c3482332d" +checksum = "a4b1213b52478a7631d6e387543ed8f642bc02c578ef4e3b49aca2a29a7df0cb" dependencies = [ "arrayvec", "cfg-if", @@ -1894,7 +1894,6 @@ dependencies = [ "profiling", "thiserror", "tracy-client", - "web-sys", "wgpu", "winit", ] diff --git a/Cargo.toml b/Cargo.toml index d178fbb..f831167 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,13 +18,10 @@ tracy = ["tracy-client", "profiling/profile-with-tracy"] parking_lot = "0.12" # Note that wgpu already depends on parking_lot as well, so this doesn't add much. thiserror = "1" tracy-client = { version = "0.16", optional = true } -wgpu = "0.19" +wgpu = "0.19.3" [dev-dependencies] futures-lite = "2" profiling = { version = "1" } tracy-client = "0.16.1" winit = "0.29" - -[target.'cfg(target_arch = "wasm32")'.dependencies] -web-sys = "=0.3.67" # Prevent upgrading web-sys to 0.3.68 which would break wgpu right