Skip to content

Commit

Permalink
Auto merge of #12335 - ahl:ahl-patch-1, r=epage
Browse files Browse the repository at this point in the history
update re: multiple versions that differ only in the metadata tag

Resolved by rust-lang/crates.io#1059 a few weeks ago
  • Loading branch information
bors committed Jul 9, 2023
2 parents ea9c1a5 + 26b0be4 commit bd0b9fd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/doc/src/reference/resolver.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,7 @@ release. Non-numeric components are compared lexicographically.
SemVer has the concept of "version metadata" with a plus in the version, such
as `1.0.0+21AF26D3`. This metadata is usually ignored, and should not be used
in a version requirement. You should never publish multiple versions that
differ only in the metadata tag (note, this is a [known issue] with
[crates.io] that currently permits this).

[known issue]: https://github.com/rust-lang/crates.io/issues/1059
[crates.io]: https://crates.io/
differ only in the metadata tag.

## Other constraints

Expand Down Expand Up @@ -486,6 +482,7 @@ are too loose, it may be possible for new versions to be published that will
break the build.

[SemVer guidelines]: semver.md
[crates.io]: https://crates.io/

## Troubleshooting

Expand Down

0 comments on commit bd0b9fd

Please sign in to comment.