This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Switch to stable Futures #3099
Labels
Milestone
Comments
This was referenced Jul 11, 2019
Note that after async/await get stable, the general intention is that it should be possible to use non-'static futures. In other words, we could write something like this: impl Foo {
// the returned `Future` borrows `self`
fn next_item(&mut self) -> impl Future { ... }
} This will considerably reduce the need for the |
This was referenced Jul 15, 2019
Stables futures don't have any equivalent to Here's my WIP, for future reference: https://gist.github.com/tomaka/8dbe4b2c2ca69a34a72000deb3c5ad92 |
Why not just implement a custom |
This was referenced Aug 1, 2019
This was referenced Aug 14, 2019
This was referenced Oct 18, 2019
And consider using tokio 0.2 when it's ready |
Still waiting on:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Instead of using
futures 0.1
, let's use futures from the Rust standard library!The text was updated successfully, but these errors were encountered: