Skip to content

Release 0.3.32#2990

Merged
taiki-e merged 33 commits into
0.3from
0.3-next
Feb 15, 2026
Merged

Release 0.3.32#2990
taiki-e merged 33 commits into
0.3from
0.3-next

Conversation

@taiki-e

@taiki-e taiki-e commented Feb 15, 2026

Copy link
Copy Markdown
Member

Changes:

Backports:

Closes #2988

taiki-e and others added 30 commits February 15, 2026 20:38
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
---
updated-dependencies:
- dependency-name: spin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
```
error: unnecessary parentheses around type
  --> futures-util/src/future/future/remote_handle.rs:72:57
   |
72 | type SendMsg<Fut> = Result<<Fut as Future>::Output, Box<(dyn Any + Send + 'static)>>;
   |                                                         ^                        ^
   |
   = note: `-D unused-parens` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(unused_parens)]`
help: remove these parentheses
   |
72 - type SendMsg<Fut> = Result<<Fut as Future>::Output, Box<(dyn Any + Send + 'static)>>;
72 + type SendMsg<Fut> = Result<<Fut as Future>::Output, Box<dyn Any + Send + 'static>>;
   |
```
```
error: trait `Fn1` is never used
  --> futures-util/src/fns.rs:34:11
   |
34 | pub trait Fn1<A>: FnMut1<A> {
   |           ^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`
```
This builds with the MSRV (1.68) and is convenient for creating `static`
mutexes.

This does bind the implementation to never allocate in `new` in the
future, but that seems like a desirable property anyway.

Note that this also requires updating slab to 0.4.7, which is the first
version that supports const `Slab::new()`.
```
error: unresolved link to `Box`
  --> futures-util/src/future/always_ready.rs:43:83
   |
43 | /// This is particularly useful in avoiding a heap allocation when an API needs [`Box<dyn Future<Output = T>>`],
   |                                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `Box` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
   = note: `-D rustdoc::broken-intra-doc-links` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(rustdoc::broken_intra_doc_links)]`

error: unresolved link to `stream.take`
  --> futures-util/src/stream/repeat_with.rs:43:7
   |
43 | /// [`stream.take()`], in order to make them finite.
   |       ^^^^^^^^^^^^^ no item named `stream.take` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unresolved link to `stream.repeat`
  --> futures-util/src/stream/repeat_with.rs:47:11
   |
47 | /// the [`stream.repeat()`] function.
   |           ^^^^^^^^^^^^^^^ no item named `stream.repeat` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unresolved link to `futures-util::stream::select`
   --> futures-util/src/stream/select_with_strategy.rs:120:46
    |
120 | /// Note: this special case is provided by [`futures-util::stream::select`].
    |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `futures-util` in scope
```
@taiki-e taiki-e added futures-0.3 Issue related to the 0.3 versions of futures and removed A-task Area: futures::task A-channel Area: futures::channel A-executor Area: futures::executor A-lock Area: futures::lock A-macro Area: macro related S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 15, 2026
@rustbot rustbot added A-channel Area: futures::channel A-executor Area: futures::executor A-future Area: futures::future A-io Area: futures::io A-lock Area: futures::lock A-macro Area: macro related A-sink Area: futures::sink A-stream Area: futures::stream A-task Area: futures::task labels Feb 15, 2026
@taiki-e taiki-e removed A-stream Area: futures::stream A-sink Area: futures::sink A-future Area: futures::future A-io Area: futures::io A-task Area: futures::task A-channel Area: futures::channel A-executor Area: futures::executor A-lock Area: futures::lock A-macro Area: macro related labels Feb 15, 2026
@taiki-e
taiki-e merged commit d9bba94 into 0.3 Feb 15, 2026
24 checks passed
@taiki-e
taiki-e deleted the 0.3-next branch February 15, 2026 13:34
@taiki-e taiki-e linked an issue Feb 16, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

futures-0.3 Issue related to the 0.3 versions of futures

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Does the community have any plans to release a new version?