Skip to content

Commit

Permalink
chore: Use workspace version for wasm-bindgen
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinnerbone committed Apr 4, 2024
1 parent 1f1835b commit a483a3e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion render/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion render/canvas/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }

Expand Down
2 changes: 1 addition & 1 deletion render/webgl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion web/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a483a3e

Please sign in to comment.