Compare commits

...

12 Commits

8
.gitignore vendored

@ -28,3 +28,11 @@
/reqwest-0.11.20.crate /reqwest-0.11.20.crate
/reqwest-0.11.22.crate /reqwest-0.11.22.crate
/reqwest-0.11.23.crate /reqwest-0.11.23.crate
/reqwest-0.11.24.crate
/reqwest-0.11.25.crate
/reqwest-0.12.4.crate
/reqwest-0.12.5.crate
/reqwest-0.12.7.crate
/reqwest-0.12.8.crate
/reqwest-0.12.9.crate
/reqwest-0.12.12.crate

@ -1,35 +1,44 @@
--- reqwest-0.11.23/Cargo.toml 1970-01-01T00:00:01+00:00 --- reqwest-0.12.12/Cargo.toml 1970-01-01T00:00:01+00:00
+++ reqwest-0.11.23/Cargo.toml 2024-01-11T20:28:26.120472+00:00 +++ reqwest-0.12.12/Cargo.toml 2025-01-04T14:02:28.391991+00:00
@@ -221,7 +221,6 @@ @@ -132,7 +132,7 @@
"dep:futures-channel",
]
json = ["dep:serde_json"]
-macos-system-configuration = ["dep:system-configuration"]
+macos-system-configuration = []
multipart = ["dep:mime_guess"]
native-tls = ["default-tls"]
native-tls-alpn = [
@@ -173,7 +173,6 @@
stream = [ stream = [
"tokio/fs", "tokio/fs",
"tokio-util", "dep:tokio-util",
- "wasm-streams", - "dep:wasm-streams",
]
trust-dns = ["trust-dns-resolver"]
@@ -403,51 +402,3 @@
] ]
default-features = false trust-dns = []
zstd = [
@@ -593,57 +592,8 @@
version = "0.13"
package = "zstd"
-[target."cfg(target_arch = \"wasm32\")".dependencies.js-sys] -[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
-version = "0.3.45" -version = "0.3.45"
- -
-[target."cfg(target_arch = \"wasm32\")".dependencies.serde_json] -[target.'cfg(target_arch = "wasm32")'.dependencies.serde_json]
-version = "1.0" -version = "1.0"
- -
-[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] -[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
-version = "0.2.68" -version = "0.2.89"
- -
-[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures] -[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
-version = "0.4.18" -version = "0.4.18"
- -
-[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-streams] -[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-streams]
-version = "0.3" -version = "0.4"
-optional = true -optional = true
- -
-[target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] -[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
-version = "0.3.25" -version = "0.3.28"
-features = [ -features = [
- "AbortController", - "AbortController",
- "AbortSignal", - "AbortSignal",
@ -48,15 +57,22 @@
- "ReadableStream", - "ReadableStream",
-] -]
- -
-[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen] -[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen]
-version = "0.2.68" -version = "0.2.89"
-features = ["serde-serialize"] -features = ["serde-serialize"]
- -
-[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] -[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
-version = "0.3" -version = "0.3"
- -
-[target."cfg(target_os = \"macos\")".dependencies.system-configuration] -[target.'cfg(target_os = "macos")'.dependencies.system-configuration]
-version = "0.5.1" -version = "0.6.0"
-optional = true
-
-[target."cfg(windows)".dependencies.windows-registry]
-version = "0.2"
- -
-[target."cfg(windows)".dependencies.winreg] [lints.rust.unexpected_cfgs]
-version = "0.50.0" level = "warn"
priority = 0
check-cfg = ["cfg(reqwest_unstable)"]
+

@ -0,0 +1,126 @@
--- reqwest-0.12.12/Cargo.toml 1970-01-01T00:00:01+00:00
+++ reqwest-0.12.12/Cargo.toml 2025-01-04T14:04:13.275543+00:00
@@ -71,7 +71,6 @@
"hyper-rustls?/ring",
"tokio-rustls?/ring",
"rustls?/ring",
- "quinn?/ring",
]
__tls = [
"dep:rustls-pemfile",
@@ -84,11 +83,6 @@
"futures-util/sink",
"tokio/sync",
]
-brotli = [
- "dep:async-compression",
- "async-compression?/brotli",
- "dep:tokio-util",
-]
charset = ["dep:encoding_rs"]
cookies = [
"dep:cookie_crate",
@@ -98,7 +92,6 @@
"default-tls",
"charset",
"http2",
- "macos-system-configuration",
]
default-tls = [
"dep:hyper-tls",
@@ -123,16 +116,7 @@
"hyper-util/http2",
"hyper-rustls?/http2",
]
-http3 = [
- "rustls-tls-manual-roots",
- "dep:h3",
- "dep:h3-quinn",
- "dep:quinn",
- "dep:slab",
- "dep:futures-channel",
-]
json = ["dep:serde_json"]
-macos-system-configuration = []
multipart = ["dep:mime_guess"]
native-tls = ["default-tls"]
native-tls-alpn = [
@@ -140,10 +124,6 @@
"native-tls-crate?/alpn",
"hyper-tls?/alpn",
]
-native-tls-vendored = [
- "native-tls",
- "native-tls-crate?/vendored",
-]
rustls-tls = ["rustls-tls-webpki-roots"]
rustls-tls-manual-roots = [
"rustls-tls-manual-roots-no-provider",
@@ -199,10 +179,6 @@
path = "examples/form.rs"
[[example]]
-name = "h3_simple"
-path = "examples/h3_simple.rs"
-
-[[example]]
name = "json_dynamic"
path = "examples/json_dynamic.rs"
required-features = ["json"]
@@ -229,14 +205,6 @@
name = "blocking"
path = "tests/blocking.rs"
required-features = ["blocking"]
-
-[[test]]
-name = "brotli"
-path = "tests/brotli.rs"
-required-features = [
- "brotli",
- "stream",
-]
[[test]]
name = "client"
@@ -380,14 +348,6 @@
version = "0.4"
optional = true
-[target.'cfg(not(target_arch = "wasm32"))'.dependencies.h3]
-version = "0.0.6"
-optional = true
-
-[target.'cfg(not(target_arch = "wasm32"))'.dependencies.h3-quinn]
-version = "0.0.7"
-optional = true
-
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hickory-resolver]
version = "0.24"
features = ["tokio-runtime"]
@@ -451,15 +411,6 @@
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.pin-project-lite]
version = "0.2.11"
-[target.'cfg(not(target_arch = "wasm32"))'.dependencies.quinn]
-version = "0.11.1"
-features = [
- "rustls",
- "runtime-tokio",
-]
-optional = true
-default-features = false
-
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls]
version = "0.23.4"
features = [
@@ -528,10 +479,6 @@
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.webpki-roots]
version = "0.26.0"
optional = true
-
-[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.brotli_crate]
-version = "6.0.0"
-package = "brotli"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.doc-comment]
version = "0.3"

@ -1,11 +1,11 @@
# Generated by rust2rpm 25 # Generated by rust2rpm 27
%bcond_without check %bcond check 1
%global debug_package %{nil} %global debug_package %{nil}
%global crate reqwest %global crate reqwest
Name: rust-reqwest Name: rust-reqwest
Version: 0.11.23 Version: 0.12.12
Release: %autorelease Release: %autorelease
Summary: Higher level HTTP client library Summary: Higher level HTTP client library
@ -14,6 +14,11 @@ URL: https://crates.io/crates/reqwest
Source: %{crates_source} Source: %{crates_source}
# Automatically generated patch to strip dependencies and normalize metadata # Automatically generated patch to strip dependencies and normalize metadata
Patch: reqwest-fix-metadata-auto.diff Patch: reqwest-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * drop macOS-specific features
# * drop unused support for brotli
# * drop unused support for HTTP/3
Patch: reqwest-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24 BuildRequires: cargo-rpm-macros >= 24
@ -74,28 +79,28 @@ use the "__rustls" feature of the "%{crate}" crate.
%files -n %{name}+__rustls-devel %files -n %{name}+__rustls-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+__tls-devel %package -n %{name}+__rustls-ring-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+__tls-devel %{_description} %description -n %{name}+__rustls-ring-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "__tls" feature of the "%{crate}" crate. use the "__rustls-ring" feature of the "%{crate}" crate.
%files -n %{name}+__tls-devel %files -n %{name}+__rustls-ring-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+async-compression-devel %package -n %{name}+__tls-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+async-compression-devel %{_description} %description -n %{name}+__tls-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "async-compression" feature of the "%{crate}" crate. use the "__tls" feature of the "%{crate}" crate.
%files -n %{name}+async-compression-devel %files -n %{name}+__tls-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+blocking-devel %package -n %{name}+blocking-devel
@ -110,40 +115,16 @@ use the "blocking" feature of the "%{crate}" crate.
%files -n %{name}+blocking-devel %files -n %{name}+blocking-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+brotli-devel %package -n %{name}+charset-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+brotli-devel %{_description}
This package contains library source intended for building other packages which
use the "brotli" feature of the "%{crate}" crate.
%files -n %{name}+brotli-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+cookie_crate-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+cookie_crate-devel %{_description}
This package contains library source intended for building other packages which
use the "cookie_crate" feature of the "%{crate}" crate.
%files -n %{name}+cookie_crate-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+cookie_store-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+cookie_store-devel %{_description} %description -n %{name}+charset-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "cookie_store" feature of the "%{crate}" crate. use the "charset" feature of the "%{crate}" crate.
%files -n %{name}+cookie_store-devel %files -n %{name}+charset-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+cookies-devel %package -n %{name}+cookies-devel
@ -182,18 +163,6 @@ use the "deflate" feature of the "%{crate}" crate.
%files -n %{name}+deflate-devel %files -n %{name}+deflate-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+futures-channel-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures-channel-devel %{_description}
This package contains library source intended for building other packages which
use the "futures-channel" feature of the "%{crate}" crate.
%files -n %{name}+futures-channel-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+gzip-devel %package -n %{name}+gzip-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -206,64 +175,40 @@ use the "gzip" feature of the "%{crate}" crate.
%files -n %{name}+gzip-devel %files -n %{name}+gzip-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+h3-devel %package -n %{name}+h2-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+h3-devel %{_description}
This package contains library source intended for building other packages which
use the "h3" feature of the "%{crate}" crate.
%files -n %{name}+h3-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+h3-quinn-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+h3-quinn-devel %{_description} %description -n %{name}+h2-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "h3-quinn" feature of the "%{crate}" crate. use the "h2" feature of the "%{crate}" crate.
%files -n %{name}+h3-quinn-devel %files -n %{name}+h2-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+http3-devel %package -n %{name}+hickory-dns-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+http3-devel %{_description} %description -n %{name}+hickory-dns-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "http3" feature of the "%{crate}" crate. use the "hickory-dns" feature of the "%{crate}" crate.
%files -n %{name}+http3-devel %files -n %{name}+hickory-dns-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+hyper-rustls-devel %package -n %{name}+http2-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+hyper-rustls-devel %{_description} %description -n %{name}+http2-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "hyper-rustls" feature of the "%{crate}" crate. use the "http2" feature of the "%{crate}" crate.
%files -n %{name}+hyper-rustls-devel %files -n %{name}+http2-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+hyper-tls-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+hyper-tls-devel %{_description}
This package contains library source intended for building other packages which
use the "hyper-tls" feature of the "%{crate}" crate.
%files -n %{name}+hyper-tls-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+json-devel %package -n %{name}+json-devel
@ -278,18 +223,6 @@ use the "json" feature of the "%{crate}" crate.
%files -n %{name}+json-devel %files -n %{name}+json-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+mime_guess-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+mime_guess-devel %{_description}
This package contains library source intended for building other packages which
use the "mime_guess" feature of the "%{crate}" crate.
%files -n %{name}+mime_guess-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+multipart-devel %package -n %{name}+multipart-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -326,66 +259,6 @@ use the "native-tls-alpn" feature of the "%{crate}" crate.
%files -n %{name}+native-tls-alpn-devel %files -n %{name}+native-tls-alpn-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+native-tls-crate-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+native-tls-crate-devel %{_description}
This package contains library source intended for building other packages which
use the "native-tls-crate" feature of the "%{crate}" crate.
%files -n %{name}+native-tls-crate-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+quinn-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+quinn-devel %{_description}
This package contains library source intended for building other packages which
use the "quinn" feature of the "%{crate}" crate.
%files -n %{name}+quinn-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rustls-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rustls-devel %{_description}
This package contains library source intended for building other packages which
use the "rustls" feature of the "%{crate}" crate.
%files -n %{name}+rustls-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rustls-native-certs-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rustls-native-certs-devel %{_description}
This package contains library source intended for building other packages which
use the "rustls-native-certs" feature of the "%{crate}" crate.
%files -n %{name}+rustls-native-certs-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rustls-pemfile-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rustls-pemfile-devel %{_description}
This package contains library source intended for building other packages which
use the "rustls-pemfile" feature of the "%{crate}" crate.
%files -n %{name}+rustls-pemfile-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rustls-tls-devel %package -n %{name}+rustls-tls-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -410,112 +283,112 @@ use the "rustls-tls-manual-roots" feature of the "%{crate}" crate.
%files -n %{name}+rustls-tls-manual-roots-devel %files -n %{name}+rustls-tls-manual-roots-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rustls-tls-native-roots-devel %package -n %{name}+rustls-tls-manual-roots-no-provider-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+rustls-tls-native-roots-devel %{_description} %description -n %{name}+rustls-tls-manual-roots-no-provider-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "rustls-tls-native-roots" feature of the "%{crate}" crate. use the "rustls-tls-manual-roots-no-provider" feature of the "%{crate}" crate.
%files -n %{name}+rustls-tls-native-roots-devel %files -n %{name}+rustls-tls-manual-roots-no-provider-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rustls-tls-webpki-roots-devel %package -n %{name}+rustls-tls-native-roots-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+rustls-tls-webpki-roots-devel %{_description} %description -n %{name}+rustls-tls-native-roots-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "rustls-tls-webpki-roots" feature of the "%{crate}" crate. use the "rustls-tls-native-roots" feature of the "%{crate}" crate.
%files -n %{name}+rustls-tls-webpki-roots-devel %files -n %{name}+rustls-tls-native-roots-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde_json-devel %package -n %{name}+rustls-tls-native-roots-no-provider-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+serde_json-devel %{_description} %description -n %{name}+rustls-tls-native-roots-no-provider-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "serde_json" feature of the "%{crate}" crate. use the "rustls-tls-native-roots-no-provider" feature of the "%{crate}" crate.
%files -n %{name}+serde_json-devel %files -n %{name}+rustls-tls-native-roots-no-provider-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+socks-devel %package -n %{name}+rustls-tls-no-provider-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+socks-devel %{_description} %description -n %{name}+rustls-tls-no-provider-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "socks" feature of the "%{crate}" crate. use the "rustls-tls-no-provider" feature of the "%{crate}" crate.
%files -n %{name}+socks-devel %files -n %{name}+rustls-tls-no-provider-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+stream-devel %package -n %{name}+rustls-tls-webpki-roots-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+stream-devel %{_description} %description -n %{name}+rustls-tls-webpki-roots-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "stream" feature of the "%{crate}" crate. use the "rustls-tls-webpki-roots" feature of the "%{crate}" crate.
%files -n %{name}+stream-devel %files -n %{name}+rustls-tls-webpki-roots-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tokio-native-tls-devel %package -n %{name}+rustls-tls-webpki-roots-no-provider-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+tokio-native-tls-devel %{_description} %description -n %{name}+rustls-tls-webpki-roots-no-provider-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "tokio-native-tls" feature of the "%{crate}" crate. use the "rustls-tls-webpki-roots-no-provider" feature of the "%{crate}" crate.
%files -n %{name}+tokio-native-tls-devel %files -n %{name}+rustls-tls-webpki-roots-no-provider-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tokio-rustls-devel %package -n %{name}+slab-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+tokio-rustls-devel %{_description} %description -n %{name}+slab-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "tokio-rustls" feature of the "%{crate}" crate. use the "slab" feature of the "%{crate}" crate.
%files -n %{name}+tokio-rustls-devel %files -n %{name}+slab-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tokio-socks-devel %package -n %{name}+socks-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+tokio-socks-devel %{_description} %description -n %{name}+socks-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "tokio-socks" feature of the "%{crate}" crate. use the "socks" feature of the "%{crate}" crate.
%files -n %{name}+tokio-socks-devel %files -n %{name}+socks-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tokio-util-devel %package -n %{name}+stream-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+tokio-util-devel %{_description} %description -n %{name}+stream-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "tokio-util" feature of the "%{crate}" crate. use the "stream" feature of the "%{crate}" crate.
%files -n %{name}+tokio-util-devel %files -n %{name}+stream-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+trust-dns-devel %package -n %{name}+trust-dns-devel
@ -530,33 +403,23 @@ use the "trust-dns" feature of the "%{crate}" crate.
%files -n %{name}+trust-dns-devel %files -n %{name}+trust-dns-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+trust-dns-resolver-devel %package -n %{name}+zstd-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+trust-dns-resolver-devel %{_description}
This package contains library source intended for building other packages which
use the "trust-dns-resolver" feature of the "%{crate}" crate.
%files -n %{name}+trust-dns-resolver-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+webpki-roots-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+webpki-roots-devel %{_description} %description -n %{name}+zstd-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "webpki-roots" feature of the "%{crate}" crate. use the "zstd" feature of the "%{crate}" crate.
%files -n %{name}+webpki-roots-devel %files -n %{name}+zstd-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
# drop tests that depend on the dropped brotli support
rm tests/brotli.rs
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires %cargo_generate_buildrequires
@ -570,7 +433,12 @@ use the "webpki-roots" feature of the "%{crate}" crate.
%if %{with check} %if %{with check}
%check %check
# * skip tests which require internet access # * skip tests which require internet access
%cargo_test -- -- --exact --skip test_allowed_methods --skip test_badssl_modern --skip test_badssl_self_signed --skip test_tls_info %{cargo_test -- -- --exact %{shrink:
--skip test_allowed_methods
--skip test_badssl_modern
--skip test_badssl_self_signed
--skip test_tls_info
}}
%endif %endif
%changelog %changelog

@ -1,6 +1,8 @@
[features] [package]
hide = [ cargo-toml-patch-comments = [
"native-tls-vendored", "drop macOS-specific features",
"drop unused support for brotli",
"drop unused support for HTTP/3",
] ]
[tests] [tests]
@ -13,3 +15,9 @@ skip = [
skip-exact = true skip-exact = true
comments = ["skip tests which require internet access"] comments = ["skip tests which require internet access"]
[scripts]
prep.post = [
"# drop tests that depend on the dropped brotli support",
"rm tests/brotli.rs",
]

@ -1 +1 @@
SHA512 (reqwest-0.11.23.crate) = 13f4b4622318a6996f019be8f374be76384f7985e0d48de91254d050d56ce1a0642f1e8e7b5ae59e5310e2c0551ac5e90845b92257e33927b80e86987915fce0 SHA512 (reqwest-0.12.12.crate) = c94ba8449d5a1d709e9676537ffab187b5f844fec44c80118e7fe467282305660f195995ade0bd1a49529ab9a8284f82a52094b43ea4be87e4517014be6ae349

Loading…
Cancel
Save