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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
Description: drop bench-only build-dependencies and disable benches
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2024-12-17
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,8 +2,6 @@
members = [
# Bogo test shim
"bogo",
- # CI benchmarks
- "ci-bench",
# Network-based tests
"connect-tests",
# tests and example code
@@ -14,8 +12,6 @@
"rustls",
# common code for testing the core crate
"rustls-test",
- # benchmarking tool
- "rustls-bench",
# rustls cryptography provider for fuzzing
"rustls-fuzzing-provider",
]
@@ -38,7 +34,6 @@
asn1 = ">= 0.20.0, <= 0.22"
async-trait = "0.1.74"
base64 = "0.22"
-bencher = "0.1.5"
brotli = { version = ">= 6.0.0, <= 8", default-features = false, features = ["std"] }
brotli-decompressor = ">= 4.0.1, <= 5"
byteorder = "1.4.3"
@@ -90,10 +85,6 @@
zeroize = "1.8"
zlib-rs = "0.5"
-[profile.bench]
-codegen-units = 1
-lto = true
-
# ensure all our tests are against the local copy, never
# against the latest _published_ copy.
[patch.crates-io]
--- a/rustls/Cargo.toml
+++ b/rustls/Cargo.toml
@@ -40,7 +40,6 @@
[dev-dependencies]
base64 = { workspace = true }
-bencher = { workspace = true }
env_logger = { workspace = true }
hex = { workspace = true }
log = { workspace = true }
@@ -54,12 +53,6 @@
time = { workspace = true }
x509-parser = { workspace = true }
-[[bench]]
-name = "benchmarks"
-path = "benches/benchmarks.rs"
-harness = false
-required-features = ["ring"]
-
[[example]]
name = "test_ca"
path = "examples/internal/test_ca.rs"
|