Drop unused, benchmark-only criterion dev-dependency

epel9
Fabio Valentini 2 years ago
parent 06fa3e386e
commit dc2ecd2eab
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -0,0 +1,12 @@
--- http-0.2.8/Cargo.toml 1970-01-01T00:00:01+00:00
+++ http-0.2.8/Cargo.toml 2022-11-04T17:52:55.248049+00:00
@@ -63,9 +63,6 @@
[dependencies.itoa]
version = "1"
-[dev-dependencies.criterion]
-version = "0.3.2"
-
[dev-dependencies.doc-comment]
version = "0.3"

@ -1,20 +1,20 @@
# Generated by rust2rpm 21 # Generated by rust2rpm 23
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate http %global crate http
Name: rust-%{crate} Name: rust-http
Version: 0.2.8 Version: 0.2.8
Release: %autorelease Release: %autorelease
Summary: Set of types for representing HTTP requests and responses Summary: Set of types for representing HTTP requests and responses
# Upstream license specification: MIT OR Apache-2.0 License: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/http URL: https://crates.io/crates/http
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
ExclusiveArch: %{rust_arches} # * drop unused, benchmark-only criterion dev-dependency to speed up builds
Patch: http-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: rust-packaging >= 21

Loading…
Cancel
Save