mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
fix(euclid_wasm): update dependency for wasm in validate.rs (#6262)
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -1846,6 +1846,7 @@ dependencies = [
|
|||||||
"common_utils",
|
"common_utils",
|
||||||
"error-stack",
|
"error-stack",
|
||||||
"masking",
|
"masking",
|
||||||
|
"once_cell",
|
||||||
"regex",
|
"regex",
|
||||||
"router_env",
|
"router_env",
|
||||||
"serde",
|
"serde",
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -84,7 +84,7 @@ clippy :
|
|||||||
# make euclid-wasm
|
# make euclid-wasm
|
||||||
|
|
||||||
euclid-wasm:
|
euclid-wasm:
|
||||||
wasm-pack build --target web --out-dir $(ROOT_DIR)/wasm --out-name euclid $(ROOT_DIR)/crates/euclid_wasm -- --features dummy_connector
|
wasm-pack build --target web --out-dir $(ROOT_DIR)/wasm --out-name euclid $(ROOT_DIR)/crates/euclid_wasm -- --features dummy_connector,v1
|
||||||
|
|
||||||
# Run Rust tests of project.
|
# Run Rust tests of project.
|
||||||
#
|
#
|
||||||
|
|||||||
@ -11,6 +11,7 @@ license.workspace = true
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
error-stack = "0.4.1"
|
error-stack = "0.4.1"
|
||||||
|
once_cell = "1.19.0"
|
||||||
serde = { version = "1.0.197", features = ["derive"] }
|
serde = { version = "1.0.197", features = ["derive"] }
|
||||||
thiserror = "1.0.58"
|
thiserror = "1.0.58"
|
||||||
time = "0.3.35"
|
time = "0.3.35"
|
||||||
|
|||||||
@ -3,8 +3,8 @@ use std::{collections::HashMap, fmt, ops::Deref, str::FromStr};
|
|||||||
use common_utils::errors::ValidationError;
|
use common_utils::errors::ValidationError;
|
||||||
use error_stack::report;
|
use error_stack::report;
|
||||||
use masking::{PeekInterface, Strategy, StrongSecret, WithType};
|
use masking::{PeekInterface, Strategy, StrongSecret, WithType};
|
||||||
|
use once_cell::sync::Lazy;
|
||||||
use regex::Regex;
|
use regex::Regex;
|
||||||
use router_env::once_cell::sync::Lazy;
|
|
||||||
#[cfg(not(target_arch = "wasm32"))]
|
#[cfg(not(target_arch = "wasm32"))]
|
||||||
use router_env::{logger, which as router_env_which, Env};
|
use router_env::{logger, which as router_env_which, Env};
|
||||||
use serde::{Deserialize, Deserializer, Serialize};
|
use serde::{Deserialize, Deserializer, Serialize};
|
||||||
|
|||||||
Reference in New Issue
Block a user