From 2890e16362749e4ce3f85c96a8971448544560e9 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Mon, 18 Jul 2022 15:55:55 -0600 Subject: [PATCH] Upgrade wasm-bindgen to v0.2.81 This eliminates the Clippy complaint about redundant unit expression, see https://github.com/rustwasm/wasm-bindgen/issues/2774 --- Cargo.lock | 48 ++++++++++++++++++++++----------------------- embed/Cargo.toml | 2 +- frontend/Cargo.toml | 2 +- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1f6e342..c44a8b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2297,9 +2297,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.79" +version = "0.2.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25f1af7423d8588a3d840681122e72e6a24ddbcb3f0ec385cac0d12d24256c06" +checksum = "7c53b543413a17a202f4be280a7e5c62a1c69345f5de525ee64f8cfdbc954994" dependencies = [ "cfg-if", "serde", @@ -2309,9 +2309,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.79" +version = "0.2.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b21c0df030f5a177f3cba22e9bc4322695ec43e7257d865302900290bcdedca" +checksum = "5491a68ab4500fa6b4d726bd67408630c3dbe9c4fe7bda16d5c82a1fd8c7340a" dependencies = [ "bumpalo", "lazy_static", @@ -2324,9 +2324,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-cli" -version = "0.2.79" +version = "0.2.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa0af0a2a143cb933238f3c5017eee8dbe8c3b375d9e80100a18080f722065ec" +checksum = "b255b6ab0d645af253319a990ad1f62e9efe2e72d353155f30834c10ecdb0af3" dependencies = [ "anyhow", "curl", @@ -2345,9 +2345,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-cli-support" -version = "0.2.79" +version = "0.2.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b59c1dbd2614ad95f113ed80d7d79680c96b10e8e62c16e07278c24d0c1d73" +checksum = "4016fbd42224de21aab2f009aeaec61067d278a298ba7f8f7f8d40fbffea0822" dependencies = [ "anyhow", "base64 0.9.3", @@ -2369,9 +2369,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-externref-xform" -version = "0.2.79" +version = "0.2.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41448820aaad979ecea552c069621457576fe3b64d515bf91e8e8ee047163cc9" +checksum = "f33c8e2d3f3b6f6647f982911eb4cb44998c8cca97a4fe7afc99f616ebb33a73" dependencies = [ "anyhow", "walrus", @@ -2391,9 +2391,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.79" +version = "0.2.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f4203d69e40a52ee523b2529a773d5ffc1dc0071801c87b3d270b471b80ed01" +checksum = "c441e177922bc58f1e12c022624b6216378e5febc2f0533e41ba443d505b80aa" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -2401,9 +2401,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.79" +version = "0.2.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa8a30d46208db204854cadbb5d4baf5fcf8071ba5bf48190c3e59937962ebc" +checksum = "7d94ac45fcf608c1f45ef53e748d35660f168490c10b23704c7779ab8f5c3048" dependencies = [ "proc-macro2", "quote", @@ -2414,9 +2414,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-multi-value-xform" -version = "0.2.79" +version = "0.2.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f0301bc4e9b356cf0b49c395bfc14051e3421b32e5383f05f82bcf646224b8b" +checksum = "7015b54357604811162710d5cf274ab85d974fe1e324222dd5b2133afdefe9b9" dependencies = [ "anyhow", "walrus", @@ -2424,15 +2424,15 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.79" +version = "0.2.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d958d035c4438e28c70e4321a2911302f10135ce78a9c7834c0cab4123d06a2" +checksum = "6a89911bd99e5f3659ec4acf9c4d93b0a90fe4a2a11f15328472058edc5261be" [[package]] name = "wasm-bindgen-threads-xform" -version = "0.2.79" +version = "0.2.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ea535bae81cedb45a132e5991ddde05319c884b7f046e0139d77a0a7855552a" +checksum = "6961b838d9a9c121ba4a1eea1628014cc759469e3defb42bbac9c5ed0f65be14" dependencies = [ "anyhow", "walrus", @@ -2441,9 +2441,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-wasm-conventions" -version = "0.2.79" +version = "0.2.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fbcb51a08cdbbb0a64aaf47ce275e8470e7e4070e95bcb53b963838ea4be770" +checksum = "c0a0eca38fe89471f57d6903f3e17e732d2d6f995a7af5b23f27df7fee0f0d18" dependencies = [ "anyhow", "walrus", @@ -2451,9 +2451,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-wasm-interpreter" -version = "0.2.79" +version = "0.2.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e7067c008334fce029580d1d2cbaff40f97bba864d4d4e99b4c2a0c34e477a7" +checksum = "0b1c9fb7f71137840932bbb853ef1f83d68c88584b716c9bbae38675c9fb8b86" dependencies = [ "anyhow", "log", diff --git a/embed/Cargo.toml b/embed/Cargo.toml index 44a1579..b8f65be 100644 --- a/embed/Cargo.toml +++ b/embed/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" [build-dependencies] anyhow = "1.0.56" cargo_metadata = "0.14.2" -wasm-bindgen-cli = { version = "0.2.79", features = ["vendored-openssl"] } +wasm-bindgen-cli = { version = "0.2.81", features = ["vendored-openssl"] } diff --git a/frontend/Cargo.toml b/frontend/Cargo.toml index 20c0c17..552017d 100644 --- a/frontend/Cargo.toml +++ b/frontend/Cargo.toml @@ -19,6 +19,6 @@ serde = "1.0.136" serde_json = "1.0.79" tracing = "0.1.32" tracing-wasm = "0.2.1" -wasm-bindgen = "0.2.79" +wasm-bindgen = "0.2.81" web-sys = { version = "0.3.56", features = ["Url", "UrlSearchParams"] } yew = "0.19.3"