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

Cargo.toml declares needlessly tight dependencies #43

Open
jonassmedegaard opened this issue May 16, 2022 · 0 comments
Open

Cargo.toml declares needlessly tight dependencies #43

jonassmedegaard opened this issue May 16, 2022 · 0 comments

Comments

@jonassmedegaard
Copy link

jonassmedegaard commented May 16, 2022

Semver versioning scheme used by Cargo defines ~ to mean same minor version, and ^ to mean same major version.
Cargo also implicitly treat 0.x releases as restricted to same minor version, and an otherwise plain plain version number as restricted to same major version.

This project explicitly prefixes several dependency strings with ~. This is unneeded, and for stable crates clap and termion even worse as it needlessly hinders reverse dependencies in using newer minor versions of those.

Please drop all ~ prefixes in Cargo.toml as this project and all its dependencies follow semver versioning where such annotation is unneeded.

For a concrete patch, see this patch part of my packaging of this project for Debian.

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

1 participant