Hide tokio behind feature

This commit is contained in:
Andrej Mihajlov
2025-06-06 15:00:40 +02:00
committed by Bogdan-Ștefan Neacşu
parent c1418e995d
commit 4551d79080
+4 -1
View File
@@ -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"]