Skip to content
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

crate includes semver metadata that will be ignored by cargo #62

Closed
untitaker opened this issue Jun 3, 2019 · 3 comments
Closed

crate includes semver metadata that will be ignored by cargo #62

untitaker opened this issue Jun 3, 2019 · 3 comments

Comments

@untitaker
Copy link

untitaker commented Jun 3, 2019

While building, cargo outputs this:

warning: version requirement `0.4.24+zstd.1.4.0` for dependency `zstd` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion

Not really a problem with this crate, but why include this metadata in the first place? Related: killercup/cargo-edit#303

@gyscos
Copy link
Owner

gyscos commented Jun 3, 2019

It's used to help users know what version of the C lib is being used. It's purely informative and as you mention has no impact on any version check from cargo. It can (and should probably) be omitted when specifying the dependency version.

@mitsuhiko
Copy link

For what it's worth I just realized that this also makes crates.io lie about the latest version. The actual latest version is 0.4.24 but crates.io thinks it's 0.4.14.

@gyscos
Copy link
Owner

gyscos commented Jun 3, 2019

Yeah, the bug on crates.io has been open for some time and has received little love so far. Other frontends like docs.rs and lib.rs do work fine. I think there's just not many people actively working on the crates.io website these days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants