Drop unused, benchmark-only bencher dev-dependency

epel10 imports/epel10/rust-html-escape-0.2.13-6.el10
Fabio Valentini 5 months ago
parent 799715c734
commit 7f61aa3caf
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,3 +0,0 @@
# rust-html-escape
The rust-html-escape package

@ -0,0 +1,19 @@
--- html-escape-0.2.13/Cargo.toml 1970-01-01T00:00:01+00:00
+++ html-escape-0.2.13/Cargo.toml 2024-09-29T16:17:06.602379+00:00
@@ -38,16 +38,8 @@
license = "MIT"
repository = "https://github.com/magiclen/html-escape"
-[[bench]]
-name = "encode"
-harness = false
-required-features = ["std"]
-
[dependencies.utf8-width]
version = "0.1"
-
-[dev-dependencies.bencher]
-version = "0.1.5"
[features]
default = ["std"]

@ -1,4 +1,4 @@
# Generated by rust2rpm 23
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
@ -12,12 +12,15 @@ Summary: Library for escaping special characters and unescaping HTML enti
License: MIT
URL: https://crates.io/crates/html-escape
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only bencher dev-dependency
Patch: html-escape-fix-metadata.diff
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
For encoding/escaping special characters in HTML and decoding/unescaping HTML
entities as well.}
This library is for encoding/escaping special characters in HTML and
decoding/unescaping HTML entities as well.}
%description %{_description}
@ -60,7 +63,7 @@ use the "std" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires

@ -0,0 +1,6 @@
[package]
summary = "Library for escaping special characters and unescaping HTML entities in HTML"
cargo-toml-patch-comments = [
"drop unused, benchmark-only bencher dev-dependency",
]
Loading…
Cancel
Save