futures-rs icon indicating copy to clipboard operation
futures-rs copied to clipboard

Zero-cost asynchronous programming in Rust

Results 229 futures-rs issues
Sort by recently updated
recently updated
newest added

The combinators that poll a stream for exhaustion in a loop have a problem that's already been raised in #869: if the upstream consecutively returns `Ready` for a long time,...

Consider the following example for the threadpool, which is close to the example from the documentation: [https://docs.rs/futures/0.3.15/futures/executor/struct.ThreadPool.html](https://docs.rs/futures/0.3.15/futures/executor/struct.ThreadPool.html) ```rust use std::thread::sleep; use std::time::Duration; use futures::FutureExt; use futures::executor::ThreadPool; async fn cpu_intensive(i: u64)...

C-feature-request
A-executor

This is useful when you don't necessarily want to consume the entire stream as a reader, but still want to retain the stream for other uses. ~The nested tuple/`Option`/tuple is...

S-waiting-on-author
A-io

It might be desirable to have adaptative parallelism for the processing of buffered futures. An example use case would be to cope with the ever changing network conditions when sending...

S-waiting-on-author
A-stream

This moves type aliases (BoxFuture, LocalBoxFuture, BoxStream, LocalBoxStream) and Trait aliases (TryFuture, TryStream) to futures-util. part of #2207 > - Type aliases (BoxFuture, LocalBoxFuture, BoxStream, LocalBoxStream) > - Move to...

S-waiting-on-author
A-stream
A-future

I'm puzzled on this one. I could understand Rust not being able to infer the type with how generic `Stream::collect` is but Rust can somehow infer it from the declaration...

C-feature-request
A-stream
S-needs-api-design

https://github.com/rust-lang/futures-rs/pull/2433#issuecomment-836929899

A-macro

Would it be possible to expose `BiLock` in a way that follows semver, even if it is separate from the normal future crates? I don't even mind if it updates...

A-lock