diff --git a/common/client-core/surb-storage/Cargo.toml b/common/client-core/surb-storage/Cargo.toml index 449ce0d589..1706008302 100644 --- a/common/client-core/surb-storage/Cargo.toml +++ b/common/client-core/surb-storage/Cargo.toml @@ -17,14 +17,15 @@ tokio = { workspace = true, features = ["fs"] } nym-crypto = { path = "../../crypto", optional = true, default-features = false } nym-sphinx = { path = "../../nymsphinx" } nym-task = { path = "../../task" } -sqlx-pool-guard = { path = "../../../sqlx-pool-guard" } - [target."cfg(not(target_arch = \"wasm32\"))".dependencies.sqlx] workspace = true features = ["runtime-tokio-rustls", "sqlite", "macros", "migrate"] optional = true +[target."cfg(not(target_arch = \"wasm32\"))".dependencies.sqlx-pool-guard] +path = "../../../sqlx-pool-guard" + [build-dependencies] tokio = { workspace = true, features = ["rt-multi-thread", "macros"] } sqlx = { workspace = true, features = [ diff --git a/common/credential-storage/Cargo.toml b/common/credential-storage/Cargo.toml index 07a01486df..aa9b615805 100644 --- a/common/credential-storage/Cargo.toml +++ b/common/credential-storage/Cargo.toml @@ -19,8 +19,9 @@ zeroize = { workspace = true, features = ["zeroize_derive"] } nym-credentials = { path = "../credentials" } nym-compact-ecash = { path = "../nym_offline_compact_ecash" } nym-ecash-time = { path = "../ecash-time" } -sqlx-pool-guard = { path = "../../sqlx-pool-guard" } +[target."cfg(not(target_arch = \"wasm32\"))".dependencies.sqlx-pool-guard] +path = "../../sqlx-pool-guard" [target."cfg(not(target_arch = \"wasm32\"))".dependencies.sqlx] workspace = true