From 95e7781279e77af844414507c12042de99abcb10 Mon Sep 17 00:00:00 2001 From: Andrew Straw Date: Mon, 13 Jan 2025 06:31:13 +0100 Subject: [PATCH] update wasm-bindgen and js-sys to latest --- .gitlab-ci.yml | 10 +++++----- Cargo.toml | 4 ++-- braidz-viewer/Cargo.toml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 50ba1ffde..72dac5891 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -357,13 +357,13 @@ build-freemovr-calibration-webapp: - echo $PATH - rustup target add wasm32-unknown-unknown - - cargo install wasm-bindgen-cli --version 0.2.99 --force --locked + - cargo install wasm-bindgen-cli --version 0.2.100 --force --locked - cargo install grass - wasm-bindgen --version - cd freemovr-calibration/freemovr-calibration-webapp - - cargo update -p wasm-bindgen --precise 0.2.99 + - cargo update -p wasm-bindgen --precise 0.2.100 - ./build.sh - mkdir -p $CI_PROJECT_DIR/freemovr-cal-webapp - cp -a pkg/* $CI_PROJECT_DIR/freemovr-cal-webapp @@ -753,7 +753,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.99 --force --locked + - cargo install wasm-bindgen-cli --version 0.2.100 --force --locked - cargo install grass - rustup target add wasm32-unknown-unknown - export PATH="$PATH:$CARGO_HOME/bin" @@ -762,12 +762,12 @@ braid-webapps: - wasm-bindgen --version - cd braidz-viewer - - cargo update -p wasm-bindgen --precise 0.2.99 + - cargo update -p wasm-bindgen --precise 0.2.100 - ./build.sh - cd .. - cd braid-april-cal/braid-april-cal-webapp - - cargo update -p wasm-bindgen --precise 0.2.99 + - cargo update -p wasm-bindgen --precise 0.2.100 - ./build.sh - cd ../.. diff --git a/Cargo.toml b/Cargo.toml index e109eaa9f..96acca7a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -185,7 +185,7 @@ include_dir = "0.7.3" indicatif = "0.17.1" ipp-sys = "0.4.4" itertools = "0.10" -js-sys = "0.3" +js-sys = "0.3.77" json-lines = { version = "0.1.0", features = ["codec"] } lazy_static = "1.4" less-avc = "0.1.4" @@ -249,7 +249,7 @@ ttf-firacode = "0.1" usvg = { version = "0.19.0", default-features = false } uuid = { version = "1.7", default-features = false, features = ["serde"] } url = "2.5.0" -wasm-bindgen = "0.2.99" +wasm-bindgen = "0.2.100" web-sys = "0.3.72" wasm-bindgen-futures = "0.4" wasm-logger = "0.2.0" diff --git a/braidz-viewer/Cargo.toml b/braidz-viewer/Cargo.toml index e8a3edccd..29e7b4a6e 100644 --- a/braidz-viewer/Cargo.toml +++ b/braidz-viewer/Cargo.toml @@ -21,7 +21,7 @@ gloo-file.workspace = true yew.workspace = true wasm-bindgen.workspace = true -js-sys = "0.3.28" +js-sys.workspace = true plotters = { version = "0.3.4", default-features = false, features = [ "bitmap_encoder", "bitmap_gif",