From 5ba912c82fcbb0db040c43db38ce824e4fa7c7b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BC=8A=E6=AC=A7?= Date: Sun, 10 Dec 2023 21:35:18 +0800 Subject: [PATCH] Pin tokio's version. --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c3917d7..d9177a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,8 +25,8 @@ wasm-bindgen-futures = { version = "0.4" } gloo = { version = "0.11" } [target.'cfg(any(not(target_arch = "wasm32"), target_os = "wasi"))'.dependencies] -tokio = { version = "1", features = ["rt", "time"] } -tokio-stream = { version = "0.1", features = ["time"] } +tokio = { version = "1.35", features = ["rt", "time"] } +tokio-stream = { version = "0.1.14", features = ["time"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] num_cpus = "1.13"