Skip to content

Commit 407c56e

Browse files
committed
Merge branch 'feat/more-bindings' into feat/service-config-and-coin-metadata
2 parents b56dcd1 + 1c521af commit 407c56e

File tree

36 files changed

+2028
-1829
lines changed

36 files changed

+2028
-1829
lines changed

crates/iota-crypto/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ wasm-bindgen-test = "0.3"
104104
# Since both versions are in our dependency tree, we need to overwrite them with the proper feature
105105
getrandom_2 = { version = "0.2", package = "getrandom", features = ["js"] }
106106
getrandom_3 = { version = "0.3", package = "getrandom", features = ["wasm_js"] }
107+
test-strategy = "=0.4.1"
107108

108109
[lints.rust]
109110
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }

crates/iota-crypto/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ test:
1717

1818
.PHONY: wasm
1919
wasm:
20-
RUSTFLAGS='--cfg getrandom_backend="wasm_js"' CC=clang wasm-pack test --node --all-features
20+
CC=clang wasm-pack test -r --node --all-features
2121

2222
%:
2323
$(MAKE) -C ../.. $@

crates/iota-crypto/src/ed25519.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,6 @@ impl Verifier<UserSignature> for Ed25519Verifier {
270270
mod test {
271271
use iota_sdk_types::PersonalMessage;
272272
use test_strategy::proptest;
273-
#[cfg(target_arch = "wasm32")]
274-
use wasm_bindgen_test::wasm_bindgen_test as test;
275273

276274
use super::*;
277275
use crate::{IotaSigner, IotaVerifier};

crates/iota-crypto/src/simple.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,6 @@ mod keypair {
470470
#[cfg(test)]
471471
mod test {
472472
use test_strategy::proptest;
473-
#[cfg(target_arch = "wasm32")]
474-
use wasm_bindgen_test::wasm_bindgen_test as test;
475473

476474
use super::*;
477475
use crate::{

0 commit comments

Comments
 (0)