docs(README.md): adds details about MSRV by clap version

This commit is contained in:
Kevin K 2020-03-04 22:06:06 -05:00
parent 3792941cb1
commit 2b017f5450
No known key found for this signature in database
GPG key ID: 17218E4B3692F01A

View file

@ -545,7 +545,7 @@ clap = "3.0.0-beta.1"
This is inherently an unresolvable crate graph in Cargo right now. Cargo requires there's only one major version of a crate, and being in the same workspace these two crates must share a version. This is impossible in this location, though, as these version constraints cannot be met.
#### Minimum Version of Rust
#### Minimum Supported Version of Rust (MSRV)
`clap` will officially support current stable Rust, minus two releases, but may work with prior releases as well. For example, current stable Rust at the time of this writing is 1.38.0, meaning `clap` is guaranteed to compile with 1.36.0 and beyond.
@ -553,6 +553,51 @@ At the 1.39.0 stable release, `clap` will be guaranteed to compile with 1.37.0 a
Upon bumping the minimum version of Rust (assuming it's within the stable-2 range), it *must* be clearly annotated in the `CHANGELOG.md`
The following is a list of the minimum required version of Rust to compile `clap` by our `MAJOR.MINOR` version number (generated by [`cargo-msrv-table`](https://github.com/kbknapp/cargo-msrv-table)):
|clap| MSRV |
|---| --- |
|2.33| 1.24.1|
|2.32| 1.24.1|
|2.31| 1.24.1|
|2.30| 1.24.1|
|2.29| 1.24.1|
|2.28| 1.24.1|
|2.27| 1.24.1|
|2.26| 1.24.1|
|2.25| 1.24.1|
|2.24| 1.24.1|
|2.23| 1.24.1|
|2.22| 1.24.1|
|2.21| 1.24.1|
|2.20| 1.21.0|
|2.19| 1.12.1|
|2.18| 1.12.1|
|2.17| 1.12.1|
|2.16| 1.12.1|
|2.15| 1.12.1|
|2.14| 1.12.1|
|2.13| 1.12.1|
|2.12| 1.12.1|
|2.11| 1.12.1|
|2.10| 1.12.1|
|2.9| 1.12.1|
|2.8| 1.12.1|
|2.7| 1.12.1|
|2.6| 1.12.1|
|2.5| 1.12.1|
|2.4| 1.12.1|
|2.3| 1.12.1|
|2.2| 1.12.1|
|2.1| 1.6.0|
|2.0| 1.4.0|
|1.5| 1.4.0|
|1.4| 1.2.0|
|1.3| 1.1.0|
|1.2| 1.1.0|
|1.1| 1.0.0|
|1.0| 1.0.0|
#### Breaking Changes
`clap` takes a similar policy to Rust and will bump the major version number upon breaking changes with only the following exceptions: