From 36f0daba1a41781b6a54ad740fc85c276fd85a09 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Fri, 14 Jun 2024 16:07:13 +0200 Subject: [PATCH] cfg-gate wasm dependencies to `target_arch = "wasm32"` --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8bc3472..ea791c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ description = """ Timeouts for futures. """ -[dependencies] +[target.'cfg(target_arch = "wasm32")'.dependencies] gloo-timers = { version = "0.2.0", features = ["futures"], optional = true } send_wrapper = { version = "0.4.0", optional = true }