From c67f8e291641f5f52382bc660cecaa6591d430f4 Mon Sep 17 00:00:00 2001 From: Andrew Straw Date: Tue, 22 Oct 2024 14:39:40 +0200 Subject: [PATCH] update to wasm-bindgen 0.2.95 --- .gitlab-ci.yml | 4 ++-- Cargo.toml | 1 + ads-webasm-example/Cargo.toml | 2 +- ads-webasm/Cargo.toml | 2 +- braid-april-cal/braid-april-cal-webapp/Cargo.toml | 2 +- braid/braid-run/braid_frontend/Cargo.toml | 2 +- braidz-viewer/Cargo.toml | 2 +- freemovr-calibration/freemovr-calibration-webapp/Cargo.toml | 2 +- strand-cam/yew_frontend/Cargo.toml | 2 +- 9 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b7c166512..88652ed4d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -390,7 +390,7 @@ build-freemovr-calibration-webapp: - echo $PATH - rustup target add wasm32-unknown-unknown - - cargo install wasm-bindgen-cli --version 0.2.92 --force --locked + - cargo install wasm-bindgen-cli --version 0.2.95 --force --locked - cargo install grass - wasm-bindgen --version @@ -1222,7 +1222,7 @@ braid-webapps: # ... and install latest (and therefore matching) wasm-pack - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh # ... and wasm-bindgen-cli - - cargo install wasm-bindgen-cli --version 0.2.92 --force --locked + - cargo install wasm-bindgen-cli --version 0.2.95 --force --locked - cargo install grass - rustup target add wasm32-unknown-unknown - export PATH="$PATH:$CARGO_HOME/bin" diff --git a/Cargo.toml b/Cargo.toml index 5efc543d9..addd3e509 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -152,6 +152,7 @@ chrono = { version = "0.4.35", default-features = false } eyre = "0.6.12" image = { version = "0.25", default-features = false } rerun = { version = "0.19", default-features = false, features = ["sdk"] } +wasm-bindgen = { version = "0.2.95" } web-sys = { version = "0.3.72" } [replace] diff --git a/ads-webasm-example/Cargo.toml b/ads-webasm-example/Cargo.toml index 446a61b8f..6650dd3c1 100644 --- a/ads-webasm-example/Cargo.toml +++ b/ads-webasm-example/Cargo.toml @@ -9,7 +9,7 @@ rust-version = "1.76" crate-type = ["cdylib", "rlib"] [dependencies] -wasm-bindgen = "0.2.92" +wasm-bindgen = { workspace = true } js-sys = "0.3" chrono = { version = "0.4.23", default-features = false, features = [ "clock", diff --git a/ads-webasm/Cargo.toml b/ads-webasm/Cargo.toml index 8fe7772c2..4a75dee4a 100644 --- a/ads-webasm/Cargo.toml +++ b/ads-webasm/Cargo.toml @@ -9,7 +9,7 @@ rust-version = "1.76" yew = { version = "0.21.0", features = ["csr"] } js-sys = "0.3" gloo-file = "0.2" -wasm-bindgen = "0.2.92" +wasm-bindgen = { workspace = true } serde = "1.0" serde_yaml = "0.9" serde_derive = "1.0" diff --git a/braid-april-cal/braid-april-cal-webapp/Cargo.toml b/braid-april-cal/braid-april-cal-webapp/Cargo.toml index fe0ff6c1a..77a6132cb 100644 --- a/braid-april-cal/braid-april-cal-webapp/Cargo.toml +++ b/braid-april-cal/braid-april-cal-webapp/Cargo.toml @@ -12,7 +12,7 @@ crate-type = ["cdylib", "rlib"] yew = { version = "0.21.0", features = ["csr"] } yew-tincture = "0.2.2" js-sys = "0.3" -wasm-bindgen = "0.2.92" +wasm-bindgen = { workspace = true } web-sys = { workspace = true, features = [ "CssStyleDeclaration", "HtmlAnchorElement", diff --git a/braid/braid-run/braid_frontend/Cargo.toml b/braid/braid-run/braid_frontend/Cargo.toml index fb574c8fc..06f8fbe86 100644 --- a/braid/braid-run/braid_frontend/Cargo.toml +++ b/braid/braid-run/braid_frontend/Cargo.toml @@ -14,7 +14,7 @@ log = "0.4" wasm-logger = "0.2.0" gloo-events = "0.1.1" gloo-utils = "0.1" -wasm-bindgen = "0.2.92" +wasm-bindgen = { workspace = true } wasm-bindgen-futures = "0.4" js-sys = "0.3" yew = { version = "0.21.0", features = ["csr"] } diff --git a/braidz-viewer/Cargo.toml b/braidz-viewer/Cargo.toml index b69022103..82a36fdc2 100644 --- a/braidz-viewer/Cargo.toml +++ b/braidz-viewer/Cargo.toml @@ -17,7 +17,7 @@ gloo = "0.8.0" gloo-file = "0.2" yew = { version = "0.21.0", features = ["csr"] } -wasm-bindgen = "0.2.92" +wasm-bindgen = { workspace = true } js-sys = "0.3.28" plotters = { version = "0.3.4", default-features = false, features = [ "bitmap_encoder", diff --git a/freemovr-calibration/freemovr-calibration-webapp/Cargo.toml b/freemovr-calibration/freemovr-calibration-webapp/Cargo.toml index cbd19a792..eb0ee7c6d 100644 --- a/freemovr-calibration/freemovr-calibration-webapp/Cargo.toml +++ b/freemovr-calibration/freemovr-calibration-webapp/Cargo.toml @@ -13,7 +13,7 @@ yew = { version = "0.21.0", features = ["csr"] } yew-agent = "0.2.0" yew-tincture = "0.2.2" js-sys = "0.3" -wasm-bindgen = "0.2.92" +wasm-bindgen = { workspace = true } web-sys = { workspace = true, features = [ "CssStyleDeclaration", "HtmlAnchorElement", diff --git a/strand-cam/yew_frontend/Cargo.toml b/strand-cam/yew_frontend/Cargo.toml index 42e82f517..482a74048 100644 --- a/strand-cam/yew_frontend/Cargo.toml +++ b/strand-cam/yew_frontend/Cargo.toml @@ -11,7 +11,7 @@ crate-type = ["cdylib", "rlib"] [dependencies] anyhow = "1.0" wasm-logger = "0.2.0" -wasm-bindgen = "0.2.92" +wasm-bindgen = { workspace = true } wasm-bindgen-futures = "0.4" js-sys = "0.3" gloo-events = "0.1.1"