tokio-rs / tokio

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

chore: increase MSRV to 1.70 #6645

Open Darksonn opened 3 weeks ago

Darksonn commented 3 weeks ago

Mio v1 was recently released, and it requires an MSRV of 1.70.0 for various changes that mio is using to get rid of its SocketAddr type and instead use the std version. This PR proposes to bump the MSRV of Tokio to 1.70.

The main disadvantage is that debian stable is still at rustc 1.63.

Refs: #6635

carllerche commented 2 weeks ago

Looks like the next debian stable will have 1.75. I don't know when it will be released though.

I'm fine with whatever I guess, but we probably need to keep an LTS that works on debian stable working.

Darksonn commented 2 weeks ago

@carllerche It looks like it will be ~1 year until debian stable will start using 1.75.0. I don't think we should wait for that. We can make an LTS release now, then bump the MSRV afterwards?

carllerche commented 1 week ago

I’m fine with it.