Skip to content

Commit cc7c17f

Browse files
authored
fix(euclid_wasm): update dependency for wasm in validate.rs (#6262)
1 parent 2ccce01 commit cc7c17f

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

Cargo.lock

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ clippy :
8484
# make euclid-wasm
8585

8686
euclid-wasm:
87-
wasm-pack build --target web --out-dir $(ROOT_DIR)/wasm --out-name euclid $(ROOT_DIR)/crates/euclid_wasm -- --features dummy_connector
87+
wasm-pack build --target web --out-dir $(ROOT_DIR)/wasm --out-name euclid $(ROOT_DIR)/crates/euclid_wasm -- --features dummy_connector,v1
8888

8989
# Run Rust tests of project.
9090
#

crates/cards/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ license.workspace = true
1111

1212
[dependencies]
1313
error-stack = "0.4.1"
14+
once_cell = "1.19.0"
1415
serde = { version = "1.0.197", features = ["derive"] }
1516
thiserror = "1.0.58"
1617
time = "0.3.35"

crates/cards/src/validate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ use std::{collections::HashMap, fmt, ops::Deref, str::FromStr};
33
use common_utils::errors::ValidationError;
44
use error_stack::report;
55
use masking::{PeekInterface, Strategy, StrongSecret, WithType};
6+
use once_cell::sync::Lazy;
67
use regex::Regex;
7-
use router_env::once_cell::sync::Lazy;
88
#[cfg(not(target_arch = "wasm32"))]
99
use router_env::{logger, which as router_env_which, Env};
1010
use serde::{Deserialize, Deserializer, Serialize};

0 commit comments

Comments
 (0)