-
Notifications
You must be signed in to change notification settings - Fork 601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crates published with invalid semver version #2463
Comments
I believe this is very common? |
Not as far as I know, I don't have the data to hand anymore, but I believe this was the only crate I noticed with an invalid version in the docs.rs database (though, there could potentially be identical bugs in both the crates.io semver validator and |
There have been other crates published due to this kind of bug in semver; IMHO we should fix the bug in semver, but also crates.io doesn't need to remove; cargo knows how to parse some incorrect versions and warn about it. |
this is blocked for now on dtolnay/semver#206 getting fixed |
dtolnay/semver#206 was fixed in semver 1.0. |
Also, it has been upgraded in #3653. |
Another example of this issue is with raft 0.5.0 specifying |
I guess we can close this issue as the original issue is fixed. I'm not sure what to do about the |
I was looking at data in the docs.rs database and noticed this crate: https://crates.io/crates/hxgm30-client, I believe the version it specifies (
0.3.0-alpha.01
) is invalid according to the semver standard. I'm not 100% certain of this though, so have opened semver/semver#563 to clarify.The text was updated successfully, but these errors were encountered: