tokio-rs / tokio

A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
https://tokio.rs
MIT License
26.59k stars 2.45k forks source link

Add `IntoFuture` support to `timeout` & `timeout_at` #6666

Closed alexheretic closed 2 months ago

alexheretic commented 3 months ago

Motivation

Resolves #6665

Solution

conradludgate commented 3 months ago

With #6645 the MSRV should bump to 1.70 anyway

alexheretic commented 2 months ago

I've merged in latest master, which now has a modern enough msrv to support IntoFuture.