Replies: 1 comment 2 replies
-
How about using the data from crates.io requests based on cargo version for the past 3 months? Because the Rust toolchain typically releases a new version about every 6 weeks 👀 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, following the discussion at Which version of MSRV should be next?. I want to propose the usage based OpenDAL MSRV Strategy.
Summary
Data is gathered by crates.io requests based on cargo version for the "Past 1 Month".
Context
OpenDAL has an MSRV but hasn't established a strategy yet. It's important to have a clear MSRV policy so our downstream users will know when OpenDAL will update its MSRV.
This policy should be predictable and meaningful. It's not effective to just choose a hardcoded version of Rust to support, as versions are not equally used. Some Rust versions have more users than others. For example, Rust
1.75
has 2.83% of requests, while1.76
only has 1.78%. The reasons are complex, determined by the features this version includes and major crates' MSRV.Proposal
Instead, I proposed a usage-based MSRV strategy: we choose a percentage we can support, then select the closest version to this percentage as our MSRV.
The data source is crates.io requests based on cargo version, for example:
We can generate a collection of projects based on versions:
If we choose
1.76
as our MSRV,89.83%
of cargo users can useopendal
without increasing the MSRV.This evaluation will occur every time we plan a
minor
version, even after ourv1.0
release. The release manager will follow the same process described here to select the MSRV and include it in our release vote process.What do you think?
Beta Was this translation helpful? Give feedback.
All reactions