From 09d7e51345668136f62a2244fe2b435a4a59e7a0 Mon Sep 17 00:00:00 2001 From: luaneko Date: Thu, 26 Jun 2025 21:10:07 +1000 Subject: [PATCH] Add tokio/rt feature only if task feature is enabled --- crates/lb/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/lb/Cargo.toml b/crates/lb/Cargo.toml index 25da4a5..ec8a46f 100644 --- a/crates/lb/Cargo.toml +++ b/crates/lb/Cargo.toml @@ -8,7 +8,7 @@ homepage.workspace = true repository.workspace = true [features] -task = ["tokio/time"] +task = ["tokio/rt", "tokio/time"] fs = ["tokio/fs"] net = ["tokio/net"] @@ -18,4 +18,4 @@ luaffi = { path = "../luaffi" } luajit = { path = "../luajit" } sysexits = "0.9.0" thiserror = "2.0.12" -tokio = { version = "1.45.1", features = ["rt"] } +tokio = { version = "1.45.1" }