File: 2003_no_bench.patch

package info (click to toggle)
rust-oxhttp 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 312 kB
  • sloc: makefile: 12; sh: 1
file content (37 lines) | stat: -rw-r--r-- 858 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
33
34
35
36
37
Description: avoid benches
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2024-12-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,6 +10,7 @@
 description = """
 Simple implementation of HTTP 1.1 (both client and server)
 """
+autobenches = false
 edition = "2021"
 rust-version = "1.74"
 
@@ -23,9 +24,6 @@
 rustls-pki-types = { version = "1.11", optional = true }
 rustls-platform-verifier = { version = ">= 0.5.3, <= 0.6", optional = true }
 
-[dev-dependencies]
-codspeed-criterion-compat = "2"
-
 [features]
 default = ["client", "server"]
 native-tls = ["dep:native-tls"]
@@ -34,10 +32,6 @@
 server = []
 flate2 = ["dep:flate2"]
 
-[[bench]]
-name = "lib"
-harness = false
-
 [package.metadata.docs.rs]
 all-features = true
 rustdoc-args = ["--cfg", "docsrs"]