From bb5ec64670c4e5f41c044c18d7e1bcb37b037ad2 Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Thu, 4 Apr 2024 14:03:22 +0200 Subject: [PATCH] chore: Use workspace version for wasm-bindgen --- Cargo.toml | 1 + render/Cargo.toml | 2 +- render/canvas/Cargo.toml | 2 +- render/webgl/Cargo.toml | 2 +- web/Cargo.toml | 2 +- web/common/Cargo.toml | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 12502c52f..12452794f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,6 +69,7 @@ num-traits = "0.2.18" serde = "1.0.197" thiserror = "1.0" url = "2.5.0" +wasm-bindgen = "=0.2.92" [workspace.lints.rust] # Clippy nightly often adds new/buggy lints that we want to ignore. diff --git a/render/Cargo.toml b/render/Cargo.toml index b1a14f760..d4a2ffd7b 100644 --- a/render/Cargo.toml +++ b/render/Cargo.toml @@ -22,7 +22,7 @@ downcast-rs = "1.2.0" lyon = { version = "1.0.1", optional = true } lyon_geom = "1.0.5" thiserror = { workspace = true } -wasm-bindgen = { version = "=0.2.92", optional = true } +wasm-bindgen = { workspace = true, optional = true } enum-map = { workspace = true } serde = { workspace = true, features = ["derive"] } clap = { workspace = true, optional = true } diff --git a/render/canvas/Cargo.toml b/render/canvas/Cargo.toml index 92fdde19a..15a228225 100644 --- a/render/canvas/Cargo.toml +++ b/render/canvas/Cargo.toml @@ -14,7 +14,7 @@ workspace = true js-sys = { workspace = true } log = { workspace = true } ruffle_web_common = { path = "../../web/common" } -wasm-bindgen = "=0.2.92" +wasm-bindgen = { workspace = true } ruffle_render = { path = "..", features = ["web"] } swf = { path = "../../swf" } diff --git a/render/webgl/Cargo.toml b/render/webgl/Cargo.toml index 4896619a3..edc399907 100644 --- a/render/webgl/Cargo.toml +++ b/render/webgl/Cargo.toml @@ -15,7 +15,7 @@ js-sys = { workspace = true } log = { workspace = true } ruffle_web_common = { path = "../../web/common" } ruffle_render = { path = "..", features = ["tessellator", "web"] } -wasm-bindgen = "=0.2.92" +wasm-bindgen = { workspace = true } bytemuck = { workspace = true, features = ["derive"] } swf = { path = "../../swf" } thiserror = { workspace = true } diff --git a/web/Cargo.toml b/web/Cargo.toml index cc3c98cf8..bdbb20a27 100644 --- a/web/Cargo.toml +++ b/web/Cargo.toml @@ -45,7 +45,7 @@ ruffle_render_webgl = { path = "../render/webgl", optional = true } ruffle_render_wgpu = { path = "../render/wgpu", optional = true } ruffle_video_software = { path = "../video/software" } url = { workspace = true } -wasm-bindgen = "=0.2.92" +wasm-bindgen = { workspace = true } wasm-bindgen-futures = "0.4.42" serde-wasm-bindgen = "0.6.5" chrono = { workspace = true, features = ["wasmbind", "clock"] } diff --git a/web/common/Cargo.toml b/web/common/Cargo.toml index c4a56583d..0a1f539b8 100644 --- a/web/common/Cargo.toml +++ b/web/common/Cargo.toml @@ -11,7 +11,7 @@ workspace = true [dependencies] js-sys = { workspace = true } tracing = { workspace = true } -wasm-bindgen = "=0.2.92" +wasm-bindgen = { workspace = true } [dependencies.web-sys] version = "0.3.69"