Skip to content

Commit

Permalink
Remove deprecated calls
Browse files Browse the repository at this point in the history
  • Loading branch information
skeet70 committed Aug 26, 2024
1 parent 7c8d4c2 commit 7ab85ac
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/wasm-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- uses: IronCoreLabs/rust-install@v0.1.0
with:
crate: wasm-bindgen-cli
version: 0.2.92 # needs to match Cargo.toml and flake.nix version
accesskey: AKIAU2WBY6VDTC563V7G
secretkey: ${{ secrets.TOOL_CACHE_SECRET_KEY }}
os: ubuntu-20.04
Expand Down
39 changes: 32 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
gloo-utils = { version = "0.1", features = ["serde"] }
ironcore-search-helpers = "0.1"
js-sys = "0.3"
rand = { version = "0.7", features = [ "wasm-bindgen" ] }
rand_chacha = "0.2"
recrypt = { version = "0.12", features = [ "wasm" ], default-features = false }
serde = "1"
# serde-wasm-bindgen = "0.6.5"
serde_derive = "1"
wasm-bindgen = { version = "=0.2.92", features = [ "serde-serialize" ] }
wasm-bindgen = { version = "=0.2.92" }

[profile.dev]
opt-level = 2
Expand Down
1 change: 1 addition & 0 deletions src/api256.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#![allow(non_snake_case)]

use crate::util::{self, JsError, WasmError};
use gloo_utils::format::JsValueSerdeExt;
use ironcore_search_helpers::{
generate_hashes_for_string, generate_hashes_for_string_with_padding, transliterate_string,
};
Expand Down

0 comments on commit 7ab85ac

Please sign in to comment.