From 0af5f892209c73020891ecb6d3a8ecd10aa89638 Mon Sep 17 00:00:00 2001 From: Peerat Vichivanives Date: Mon, 2 Dec 2024 14:34:14 -0800 Subject: [PATCH] move wasmtimer to wasm32 dependencies --- reqwest-retry/Cargo.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/reqwest-retry/Cargo.toml b/reqwest-retry/Cargo.toml index bd4f37b..9ebfd12 100644 --- a/reqwest-retry/Cargo.toml +++ b/reqwest-retry/Cargo.toml @@ -24,14 +24,13 @@ reqwest = { version = "0.12.0", default-features = false } retry-policies = "0.4" thiserror = "1.0.61" tracing = { version = "0.1.26", optional = true } -wasmtimer = "0.4.1" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] hyper = "1.0" tokio = { version = "1.6.0", default-features = false, features = ["time"] } [target.'cfg(target_arch = "wasm32")'.dependencies] - +wasmtimer = "0.4.1" getrandom = { version = "0.2.0", features = ["js"] } [dev-dependencies]