diff --git a/common/client-core/surb-storage/Cargo.toml b/common/client-core/surb-storage/Cargo.toml index 1706008302..303675a220 100644 --- a/common/client-core/surb-storage/Cargo.toml +++ b/common/client-core/surb-storage/Cargo.toml @@ -12,12 +12,15 @@ dashmap.workspace = true log.workspace = true thiserror.workspace = true time.workspace = true -tokio = { workspace = true, features = ["fs"] } nym-crypto = { path = "../../crypto", optional = true, default-features = false } nym-sphinx = { path = "../../nymsphinx" } nym-task = { path = "../../task" } +[target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio] +workspace = true +features = ["fs"] + [target."cfg(not(target_arch = \"wasm32\"))".dependencies.sqlx] workspace = true features = ["runtime-tokio-rustls", "sqlite", "macros", "migrate"]