You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
As tokio reached 1.0, it is expected that users will become more confident in it and attempt to write (update) applications/libraries against it. Several crates already updated to support this version. However tokio having MSRV that's higher than what popular Linux distributions support will make it hard to package applications using tokio for these popular distributions. Because of importance and popularity of tokio it's expected that this will affect many projects.
Aside from issues around packaging applications, this also affects non-packaged applications as their users might prefer to use a compiler from signed trusted source (a repository) instead of piping curl to sh or laboriously verifying the fingerprints/signatures from a separate source.
Describe the solution you'd like
Declare MSRV to be "whatever most popular stable Linux distributions support but not newer than 6 months old". As @xfixwell described the popular distros support oldest supported Firefox ESR and that implies supporting a version of Rustc required to compile it.
The list of considered distributions could be explicit. Ubuntu, Debian stable, Fedora should suffice I think.
Describe alternatives you've considered
Modify tokio 1.0 to support 1.41 (cosmetic changes so far) but don't promise to support it further. There's a chance that the new version of Firefox ESR will trigger update of rustc in popular distros. The problem may appear again but defer dealing with it when it occurs.
Add a clause "unless compiler feature(s) with huge benefits are available in newer version" to make it not hold back the tokio development
Instead of promising support, simply promise to accept well-formed PRs from volunteers who care enough to support older versions. The requirements can be specified somewhere. This should decrease the load on tokio maintainers.
Keep the policy as is. People who care can fork tokio, modify it to support older Rust and use [patch]. I consider this ugly, last-resort solution.
Additional context
I happen to be an author of several applications that intend to support Debian stable and use tokio and a contributor to one application that intends to support Debian stable and may use tokio in the future. So I primarily care about Debian stable but guess that users of other distros might be interested.
Edit: I just learned about standback crate. Perhaps its availability can be another argument for supporting older Rust versions.
The text was updated successfully, but these errors were encountered:
As someone using embedded Linux, I'll throw some extra info about Yocto/OpenEmbedded - one of the popular frameworks for building embedded Linux images and distributions.
Current LTS can be made to support 1.49 and 1.51 through an external layer
Latest release supports 1.54 in core
Releases are on a half year cadence April and October and will probably use latest stable, to within one or two minors
Since upstream does not support this policy, it is not feasible to support this on our part at this time. If the situation changes in the future to make it feasible, we can revisit this.
Is your feature request related to a problem? Please describe.
As
tokio
reached 1.0, it is expected that users will become more confident in it and attempt to write (update) applications/libraries against it. Several crates already updated to support this version. Howevertokio
having MSRV that's higher than what popular Linux distributions support will make it hard to package applications usingtokio
for these popular distributions. Because of importance and popularity oftokio
it's expected that this will affect many projects.Aside from issues around packaging applications, this also affects non-packaged applications as their users might prefer to use a compiler from signed trusted source (a repository) instead of piping
curl
tosh
or laboriously verifying the fingerprints/signatures from a separate source.Describe the solution you'd like
Declare MSRV to be "whatever most popular stable Linux distributions support but not newer than 6 months old". As @xfix well described the popular distros support oldest supported Firefox ESR and that implies supporting a version of Rustc required to compile it.
The list of considered distributions could be explicit. Ubuntu, Debian stable, Fedora should suffice I think.
Describe alternatives you've considered
tokio
1.0 to support 1.41 (cosmetic changes so far) but don't promise to support it further. There's a chance that the new version of Firefox ESR will trigger update of rustc in popular distros. The problem may appear again but defer dealing with it when it occurs.tokio
developmenttokio
maintainers.tokio
, modify it to support older Rust and use[patch]
. I consider this ugly, last-resort solution.Additional context
I happen to be an author of several applications that intend to support Debian stable and use
tokio
and a contributor to one application that intends to support Debian stable and may usetokio
in the future. So I primarily care about Debian stable but guess that users of other distros might be interested.Edit: I just learned about
standback
crate. Perhaps its availability can be another argument for supporting older Rust versions.The text was updated successfully, but these errors were encountered: