Drop unused, benchmark-only bencher dev-dependency

epel10 imports/epel10/rust-utf8-width-0.1.7-4.el10
Fabio Valentini 5 months ago
parent 37cb67549d
commit 18b57e6c73
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,4 +1,4 @@
# Generated by rust2rpm 25
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
@ -12,6 +12,9 @@ Summary: Determine the width of a UTF-8 character by providing its first
License: MIT
URL: https://crates.io/crates/utf8-width
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only bencher dev-dependency
Patch: utf8-width-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24

@ -1,3 +1,6 @@
[package]
summary = "Determine the width of a UTF-8 character by providing its first byte"
cargo-toml-patch-comments = [
"drop unused, benchmark-only bencher dev-dependency",
]

@ -0,0 +1,15 @@
--- utf8-width-0.1.7/Cargo.toml 1970-01-01T00:00:01+00:00
+++ utf8-width-0.1.7/Cargo.toml 2024-09-29T16:12:57.252893+00:00
@@ -37,12 +37,3 @@
]
license = "MIT"
repository = "https://github.com/magiclen/utf8-width"
-
-[[bench]]
-name = "bench"
-harness = false
-
-[dependencies]
-
-[dev-dependencies.bencher]
-version = "0.1.5"
Loading…
Cancel
Save