Compare commits

..

No commits in common. 'epel10' and 'epel9' have entirely different histories.

1
.gitignore vendored

@ -25,4 +25,3 @@
/futures-util-0.3.27.crate
/futures-util-0.3.28.crate
/futures-util-0.3.30.crate
/futures-util-0.3.31.crate

@ -1,24 +0,0 @@
From 6ababfea184c345d9b887797de871863d0ae9fd5 Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Mon, 7 Oct 2024 23:22:34 +0200
Subject: [PATCH] revert removal of unstable io_slice_advance feature gate
---
src/lib.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lib.rs b/src/lib.rs
index 2201e4f..8024f7b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -10,6 +10,7 @@
)
))]
#![warn(missing_docs, unsafe_op_in_unsafe_fn)]
+#![cfg_attr(feature = "write-all-vectored", feature(io_slice_advance))]
#![cfg_attr(docsrs, feature(doc_cfg))]
#[cfg(all(feature = "bilock", not(feature = "unstable")))]
--
2.46.2

@ -1,48 +0,0 @@
--- futures-util-0.3.31/Cargo.toml 1970-01-01T00:00:01+00:00
+++ futures-util-0.3.31/Cargo.toml 2024-10-13T12:18:31.343712+00:00
@@ -84,11 +84,6 @@
version = "0.3.31"
default-features = false
-[dependencies.futures_01]
-version = "0.1.25"
-optional = true
-package = "futures"
-
[dependencies.memchr]
version = "2.2"
optional = true
@@ -101,10 +96,6 @@
[dependencies.slab]
version = "0.4.2"
-optional = true
-
-[dependencies.tokio-io]
-version = "0.1.9"
optional = true
[dev-dependencies.tokio]
@@ -126,10 +117,6 @@
"std",
"futures-channel",
]
-compat = [
- "std",
- "futures_01",
-]
default = [
"std",
"async-await",
@@ -139,11 +126,6 @@
"std",
"futures-io",
"memchr",
-]
-io-compat = [
- "io",
- "compat",
- "tokio-io",
]
portable-atomic = ["futures-core/portable-atomic"]
sink = ["futures-sink"]

@ -1,4 +1,4 @@
# Generated by rust2rpm 26
# Generated by rust2rpm 25
# * tests can only be run in-tree
%bcond_with check
%global debug_package %{nil}
@ -6,20 +6,13 @@
%global crate futures-util
Name: rust-futures-util
Version: 0.3.31
Version: 0.3.30
Release: %autorelease
Summary: Common utilities and extension traits for the futures-rs library
License: MIT OR Apache-2.0
URL: https://crates.io/crates/futures-util
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused compat support for futures 0.1
# * drop unused compat support for tokio 0.1
Patch: futures-util-fix-metadata.diff
# * revert upstream change that broke compilation with Rust < 1.81:
# https://github.com/rust-lang/futures-rs/issues/2892
Patch10: 0001-revert-removal-of-unstable-io_slice_advance-feature-.patch
BuildRequires: cargo-rpm-macros >= 24
@ -127,6 +120,18 @@ use the "channel" feature of the "%{crate}" crate.
%files -n %{name}+channel-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+compat-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+compat-devel %{_description}
This package contains library source intended for building other packages which
use the "compat" feature of the "%{crate}" crate.
%files -n %{name}+compat-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+futures-channel-devel
Summary: %{summary}
BuildArch: noarch
@ -175,6 +180,18 @@ use the "futures-sink" feature of the "%{crate}" crate.
%files -n %{name}+futures-sink-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+futures_01-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures_01-devel %{_description}
This package contains library source intended for building other packages which
use the "futures_01" feature of the "%{crate}" crate.
%files -n %{name}+futures_01-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+io-devel
Summary: %{summary}
BuildArch: noarch
@ -187,6 +204,18 @@ use the "io" feature of the "%{crate}" crate.
%files -n %{name}+io-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+io-compat-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+io-compat-devel %{_description}
This package contains library source intended for building other packages which
use the "io-compat" feature of the "%{crate}" crate.
%files -n %{name}+io-compat-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+memchr-devel
Summary: %{summary}
BuildArch: noarch
@ -247,6 +276,18 @@ use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tokio-io-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-io-devel %{_description}
This package contains library source intended for building other packages which
use the "tokio-io" feature of the "%{crate}" crate.
%files -n %{name}+tokio-io-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unstable-devel
Summary: %{summary}
BuildArch: noarch

@ -1,18 +1,3 @@
[package]
cargo-toml-patch-comments = [
"drop unused compat support for futures 0.1",
"drop unused compat support for tokio 0.1",
]
[[package.extra-patches]]
number = 10
file = "0001-revert-removal-of-unstable-io_slice_advance-feature-.patch"
comments = [
"""\
revert upstream change that broke compilation with Rust < 1.81:
https://github.com/rust-lang/futures-rs/issues/2892""",
]
[tests]
run = ["none"]
comments = ["tests can only be run in-tree"]

@ -1 +1 @@
SHA512 (futures-util-0.3.31.crate) = 429b1de584546b931b17d475aacbdb0c14824a57d960c44e615aa808e8c0f9c126473e313a7150b3de87ea91b7eebebb1041509f61b3493fee8a9cd2c75c4df3
SHA512 (futures-util-0.3.30.crate) = 7faae5aa35641d858d0f5430e4a69acd4ba9037852ad73c5a890bffeed411d28820883e18bad4ca8f7b0a765f9f4c5dbeaf5d0cfaaf90c2c69846434ae091951

Loading…
Cancel
Save