Skip to content

Replace parts of futures-util with std APIs #1233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paolobarbolini
Copy link
Contributor

Replaces the following futures-util APIs with std equivalents:

Before After Comment
futures_util::future::Future std::future::Future It was just a re-export
futures_util::future::poll_fn std::future::poll_fn Reimplements it in the same way
futures_util::future::ready std::future::ready Reimplements it in the same way
futures_util::ready! std::task::ready! Reimplements it in the same way
futures_util::pin_mut! std::pin::pin! Reimplements it in a similar way, but more powerful

std::pin::pin! should be the newest one, with a MSRV of v1.68.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant