diff --git a/Cargo.lock b/Cargo.lock index 37ec3915146..ba8bcfab797 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4047,9 +4047,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.64" +version = "0.3.65" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" +checksum = "5db499c5f66323272151db0e666cd34f78617522fb0c1604d31a27c50c206a85" dependencies = [ "js-sys", "wasm-bindgen", diff --git a/Cargo.toml b/Cargo.toml index ebece615e3f..399786c64d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -162,7 +162,7 @@ wasm-bindgen = "0.2.87" wasm-bindgen-futures = "0.4.38" wasm-bindgen-test = "0.3" web-time = "0.2.3" -web-sys = "0.3.64" +web-sys = "0.3.65" # deno dependencies deno_console = "0.119.0" diff --git a/wgpu-core/Cargo.toml b/wgpu-core/Cargo.toml index 6fb6b27f960..ca9a2dbe080 100644 --- a/wgpu-core/Cargo.toml +++ b/wgpu-core/Cargo.toml @@ -99,7 +99,7 @@ version = "0.18.0" default_features = false [target.'cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))'.dependencies] -web-sys = { version = "0.3.64", features = [ +web-sys = { version = "0.3.65", features = [ "HtmlCanvasElement", "OffscreenCanvas", ] } diff --git a/wgpu-hal/Cargo.toml b/wgpu-hal/Cargo.toml index 6d1d056b56a..22bb69af0c5 100644 --- a/wgpu-hal/Cargo.toml +++ b/wgpu-hal/Cargo.toml @@ -152,7 +152,7 @@ core-graphics-types = "0.1" [target.'cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))'.dependencies] wasm-bindgen = "0.2.87" -web-sys = { version = "0.3.64", features = [ +web-sys = { version = "0.3.65", features = [ "Window", "HtmlCanvasElement", "WebGl2RenderingContext", diff --git a/wgpu-types/Cargo.toml b/wgpu-types/Cargo.toml index 3ae28587add..00e941e006d 100644 --- a/wgpu-types/Cargo.toml +++ b/wgpu-types/Cargo.toml @@ -39,7 +39,7 @@ serde = { version = "1", features = ["serde_derive"], optional = true } [target.'cfg(target_arch = "wasm32")'.dependencies] js-sys = "0.3.65" -web-sys = { version = "0.3.64", features = [ +web-sys = { version = "0.3.65", features = [ "ImageBitmap", "HtmlVideoElement", "HtmlCanvasElement", diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml index 95424fa2f16..210e4d87db7 100644 --- a/wgpu/Cargo.toml +++ b/wgpu/Cargo.toml @@ -167,7 +167,7 @@ web-sys = { workspace = true, features = [ "GpuCompilationMessageType", "GpuComputePassDescriptor", "GpuComputePassEncoder", - "GpuComputePassTimestampWrite", + "GpuComputePassTimestampWrites", "GpuComputePipeline", "GpuComputePipelineDescriptor", "GpuCullMode", diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index f6a7d67f14a..c85e955e7c2 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -1573,7 +1573,7 @@ static_assertions::assert_impl_all!(RenderPipelineDescriptor<'_>: Send, Sync); /// For use with [`ComputePassDescriptor`]. /// At least one of `beginning_of_pass_write_index` and `end_of_pass_write_index` must be `Some`. /// -/// Corresponds to [WebGPU `GPUComputePassTimestampWrite`]( +/// Corresponds to [WebGPU `GPUComputePassTimestampWrites`]( /// https://gpuweb.github.io/gpuweb/#dictdef-gpucomputepasstimestampwrites). #[derive(Clone, Debug)] pub struct ComputePassTimestampWrites<'a> {