File: 2003_no_benches.patch

package info (click to toggle)
rust-event-listener 5.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 344 kB
  • sloc: makefile: 2; sh: 1
file content (32 lines) | stat: -rw-r--r-- 679 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Description: avoid benches
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2024-04-08
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,6 +13,7 @@
 keywords = ["condvar", "eventcount", "wake", "blocking", "park"]
 categories = ["asynchronous", "concurrency"]
 exclude = ["/.*"]
+autobenches = false
 
 [features]
 default = ["std"]
@@ -50,15 +51,3 @@
 futures-lite = "2.0.0"
 try-lock = "0.2.5"
 waker-fn = "1"
-
-[dev-dependencies.criterion]
-version = "0.7"
-default-features = false
-features = ["cargo_bench_support"]
-
-[[bench]]
-name = "bench"
-harness = false
-
-[lib]
-bench = false