Update to version 0.3.31; Fixes RHBZ#2316609

epel10
Fabio Valentini 3 months ago
parent 3a66c7330b
commit 81501e5830
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

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

@ -0,0 +1,24 @@
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,4 +1,4 @@
# Generated by rust2rpm 25
# Generated by rust2rpm 26
# * tests can only be run in-tree
%bcond_with check
%global debug_package %{nil}
@ -6,13 +6,16 @@
%global crate futures-util
Name: rust-futures-util
Version: 0.3.30
Version: 0.3.31
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}
# * 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

@ -1,3 +1,12 @@
[[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.30.crate) = 7faae5aa35641d858d0f5430e4a69acd4ba9037852ad73c5a890bffeed411d28820883e18bad4ca8f7b0a765f9f4c5dbeaf5d0cfaaf90c2c69846434ae091951
SHA512 (futures-util-0.3.31.crate) = 429b1de584546b931b17d475aacbdb0c14824a57d960c44e615aa808e8c0f9c126473e313a7150b3de87ea91b7eebebb1041509f61b3493fee8a9cd2c75c4df3

Loading…
Cancel
Save