Description: drop bench-only build-dependencies and disable benches
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2023-08-25
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,7 +12,8 @@
 repository = "https://github.com/smol-rs/async-executor"
 keywords = ["asynchronous", "executor", "single", "multi", "spawn"]
 categories = ["asynchronous", "concurrency"]
-exclude = ["/.*"]
+exclude = ["/.*","benches/**/*"]
+autobenches = false
 
 [features]
 # Adds support for executors optimized for use in static variables.
@@ -33,16 +34,10 @@
 async-channel = "2.0.0"
 async-io = "2.1.0"
 async-lock = "3.0.0"
-criterion = { version = "0.7", default-features = false, features = ["cargo_bench_support"] }
 easy-parallel = "3.1.0"
 fastrand = "2.0.0"
 futures-lite = "2.0.0"
 once_cell = "1.16.0"
 
-[[bench]]
-name = "executor"
-harness = false
-required-features = ["static"]
-
 [package.metadata.docs.rs]
 all-features = true
