diff --git a/Cargo.toml b/Cargo.toml index 7c6c69f..3c3226c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,8 +12,8 @@ description = """ Timeouts for futures. """ -[dependencies] -gloo-timers = { version = "0.3.0", features = ["futures"], optional = true } +[target.'cfg(target_arch = "wasm32")'.dependencies] +gloo-timers = { version = "0.4.0", features = ["futures"], optional = true } send_wrapper = { version = "0.6.0", optional = true } [dev-dependencies]