Drop unused, benchmark-only bencher dev-dependency

epel10 imports/epel10/rust-url-2.5.2-3.el10
Fabio Valentini 5 months ago
parent ba6ae275c9
commit 61b31362e0
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -14,6 +14,9 @@ URL: https://crates.io/crates/url
Source: %{crates_source}
# Automatically generated patch to strip dependencies and normalize metadata
Patch: url-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only bencher dev-dependency
Patch: url-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24

@ -1,5 +1,8 @@
[package]
summary = "URL library for Rust, based on the WHATWG URL Standard"
cargo-toml-patch-comments = [
"drop unused, benchmark-only bencher dev-dependency",
]
[features]
hide = ["debugger_visualizer"]

@ -1,5 +1,5 @@
--- url-2.5.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ url-2.5.2/Cargo.toml 2024-07-18T19:35:45.476337+00:00
+++ url-2.5.2/Cargo.toml 2024-09-14T19:38:56.029755+00:00
@@ -82,5 +82,3 @@
default = []
expose_internals = []

@ -0,0 +1,24 @@
--- url-2.5.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ url-2.5.2/Cargo.toml 2024-09-14T19:40:12.947182+00:00
@@ -48,11 +48,6 @@
path = "tests/wpt.rs"
harness = false
-[[bench]]
-name = "parse_url"
-path = "benches/parse_url.rs"
-harness = false
-
[dependencies.form_urlencoded]
version = "1.2.1"
@@ -67,9 +62,6 @@
features = ["derive"]
optional = true
-[dev-dependencies.bencher]
-version = "0.1"
-
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
Loading…
Cancel
Save