Skip to content

Commit 7ab85ac

Browse files
committed
Remove deprecated calls
1 parent 7c8d4c2 commit 7ab85ac

File tree

4 files changed

+37
-8
lines changed

4 files changed

+37
-8
lines changed

.github/workflows/wasm-ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- uses: IronCoreLabs/[email protected]
2727
with:
2828
crate: wasm-bindgen-cli
29+
version: 0.2.92 # needs to match Cargo.toml and flake.nix version
2930
accesskey: AKIAU2WBY6VDTC563V7G
3031
secretkey: ${{ secrets.TOOL_CACHE_SECRET_KEY }}
3132
os: ubuntu-20.04

Cargo.lock

Lines changed: 32 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@ edition = "2018"
1111
crate-type = ["cdylib"]
1212

1313
[dependencies]
14+
gloo-utils = { version = "0.1", features = ["serde"] }
1415
ironcore-search-helpers = "0.1"
1516
js-sys = "0.3"
1617
rand = { version = "0.7", features = [ "wasm-bindgen" ] }
1718
rand_chacha = "0.2"
1819
recrypt = { version = "0.12", features = [ "wasm" ], default-features = false }
1920
serde = "1"
21+
# serde-wasm-bindgen = "0.6.5"
2022
serde_derive = "1"
21-
wasm-bindgen = { version = "=0.2.92", features = [ "serde-serialize" ] }
23+
wasm-bindgen = { version = "=0.2.92" }
2224

2325
[profile.dev]
2426
opt-level = 2

src/api256.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#![allow(non_snake_case)]
22

33
use crate::util::{self, JsError, WasmError};
4+
use gloo_utils::format::JsValueSerdeExt;
45
use ironcore_search_helpers::{
56
generate_hashes_for_string, generate_hashes_for_string_with_padding, transliterate_string,
67
};

0 commit comments

Comments
 (0)