From a483a3e40cee449c6aa111b0d14948ccd49f593a 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 12502c52feef2..12452794fcb5d 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 b1a14f76046fa..d4a2ffd7bbab3 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 92fdde19a8ad8..15a228225b2db 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 4896619a3fbca..edc3999074f38 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 cc3c98cf83cd8..bdbb20a278924 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 c4a56583d30ab..0a1f539b81d5e 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"