Add section on semver derived from rust-lang/rfcs#1105 #738
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As far as I can tell, rust-lang/rfcs#1105 are the de-facto guidelines that crate maintainers should use to guide their use of semver for this crates.
I have found it confusing in the past that these guidelines don't exist in any documentation outside that RFC, and discussion in rust-lang/rust#68004 led be to believe that it's worth it to add this to some official documentation.
In this PR, I largely copied the RFC into its own section in the reference, and edited it to make the language fit the reference (I could have gotten the tone wrong in some places)
The intention is that this documentation can also be extended (unlike the RFC) when new things with consequences for semver (like rust-lang/rust#68004) are landed in the language (whether or not this guide includes just nightly or just stable changes to the language is TBD, perhaps a version of this deserves to be in the unstable book).