Planned features for cargo-install v2
baptiste0928 opened this issue · 4 comments
baptiste0928 commented
ForsakenHarmony commented
Use exact crate version if full version specified (e.g
0.5.2
=>=0.5.2
,0.5
=>^0.5
).
Please don't do this based on the length of the version number
baptiste0928 commented
In what situations do you think this would be a bad idea? The current behavior (always default to ^
) can cause CI breakages even if a fixed version is not specified. This behavior can be overwritten by specifying an explicit semver range.
ForsakenHarmony commented
I just prefer not having implicit behaviour, so IMO without a prefix the two should behave the same
Could also throw an error if there's no prefix and the version number is not exact
baptiste0928 commented
v2 has been released: https://github.com/baptiste0928/cargo-install/releases/tag/v2.0.0