From 3dbc003b45212b58bb75aee4f7f7d78ca6ffc89d Mon Sep 17 00:00:00 2001 From: alpha-tango-kilo Date: Sat, 11 Nov 2023 17:04:24 +0000 Subject: [PATCH] Disallow potentially insecure tokio versions https://rustsec.org/advisories/RUSTSEC-2023-0001.html --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ba5400f..e8522e1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,13 +26,13 @@ async-std = { version = "1", optional = true } blocking = { version = "1.2", optional = true } rayon = { version = "1", optional = true } smol = { version = "1", optional = true } -tokio = { version = "1", features = ["rt", "fs"], optional = true } +tokio = { version = "1.23", features = ["rt", "fs"], optional = true } threadpool = { version = "1.7", optional = true } [dev-dependencies] tempfile = "3" # Have to include this so we can get Async{Read,Write}Ext through feature unification -tokio = { version = "1", features = ["io-util"] } +tokio = { version = "1.23", features = ["io-util"] } [package.metadata.docs.rs] default-target = "x86_64-pc-windows-msvc"