Skip to content
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

Add IntoFuture support to timeout & timeout_at #6666

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

Conversation

alexheretic
Copy link

@alexheretic alexheretic commented Jun 28, 2024

Motivation

Resolves #6665

Solution

  • Use IntoFuture instead of Future for timeout & timeout_at.
  • Bump msrv to 1.64 as this version stabilised IntoFuture.

@conradludgate
Copy link
Contributor

With #6645 the MSRV should bump to 1.70 anyway

@Darksonn Darksonn added A-tokio Area: The main tokio crate M-time Module: tokio/time labels Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-time Module: tokio/time
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tokio::time::timeout should support std::future::IntoFuture
3 participants