From c20a53dfbac3c48346dcd5f93967940675d63a31 Mon Sep 17 00:00:00 2001 From: Manuel Raimann Date: Thu, 12 Feb 2026 12:52:02 +0100 Subject: [PATCH] fix: bump minimum tokio version to 1.30 for JoinSet::len() --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 93d67ab..c746972 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ readme = "README.md" fastrand = "2.3" thiserror = "2" parking_lot = "0.12" -tokio = { version = "1", features = ["sync", "rt-multi-thread"], optional = true } +tokio = { version = "1.30", features = ["sync", "rt-multi-thread"], optional = true } optimizer-derive = { version = "0.1.0", path = "optimizer-derive", optional = true } serde = { version = "1", features = ["derive"], optional = true } serde_json = { version = "1", optional = true } @@ -40,7 +40,7 @@ cma-es = ["dep:nalgebra"] gp = ["dep:nalgebra"] [dev-dependencies] -tokio = { version = "1", features = ["rt-multi-thread", "macros", "time"] } +tokio = { version = "1.30", features = ["rt-multi-thread", "macros", "time"] } optimizer-derive = { version = "0.1.0", path = "optimizer-derive" } serde_json = "1" criterion = { version = "0.8", features = ["html_reports"] }