From 627ac2f932237300146f1272147cf18c040b85d3 Mon Sep 17 00:00:00 2001 From: DJ Majumdar Date: Wed, 18 Mar 2026 06:06:40 -0700 Subject: [PATCH] fix(ci): exclude lib target from cargo bench to fix benchmark CI The default libtest harness for src/lib.rs does not support --output-format bencher, causing cargo bench to exit non-zero. Setting bench = false on [lib] ensures only the named criterion bench targets are run. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 0853c53..cf4cf4d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,9 @@ keywords = ["scheduler", "priority-queue", "task", "async"] categories = ["asynchronous", "concurrency"] repository = "https://github.com/deepjoy/taskmill" +[lib] +bench = false + [features] default = ["sysinfo-monitor"] sysinfo-monitor = ["dep:sysinfo"]