File: 2003_no_benches.patch

package info (click to toggle)
rust-rustls-webpki 0.103.4-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 10,632 kB
  • sloc: python: 2,278; sh: 61; makefile: 12
file content (38 lines) | stat: -rw-r--r-- 1,006 bytes parent folder | download | duplicates (2)
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
38
Description: drop bench-only build-dependencies and disable benches
Author: Jonas Smedegaard <dr@jones.dk>
Author: Peter Michael Green <plugwash@debian.org>
Forwarded: not-needed
Last-Update: 2023-08-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,6 +13,7 @@
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 [package]
+autobenches = false
 categories = ["cryptography", "no-std"]
 description = "Web PKI X.509 Certificate Verification."
 edition = "2021"
@@ -86,9 +87,7 @@
 
 [dev-dependencies]
 base64 = "0.22"
-bencher = "0.1.5"
 bzip2 = ">= 0.4.4, <= 0.6"
-once_cell = "1.17.2"
 rcgen = ">= 0.13.0, <= 0.14"
 serde = { version = "1.0", features = ["derive"] }
 serde_json = "1.0"
@@ -109,10 +108,5 @@
 debug-assertions = false
 codegen-units = 1
 
-[[bench]]
-name = "benchmarks"
-path = "benches/benchmark.rs"
-harness = false
-
 [package.metadata.cargo-semver-checks.lints]
 enum_variant_marked_deprecated = "warn"