-
-
Notifications
You must be signed in to change notification settings - Fork 36
Incorrectly marking 1.4.0 as incompatible with 1.3 #101
Comments
I will prepare a good test case and look for it. |
@djc I couldn't find any doc about it , are you sure ? https://doc.rust-lang.org/cargo/reference/resolver.html#semver-compatibility |
What part are you looking for exactly? "This convention also applies to versions with leading zeros. For example, 0.1.0 and 0.1.2 are compatible, but 0.1.0 and 0.2.0 are not. Similarly, 0.0.1 and 0.0.2 are not compatible." |
(My biggest pain point currently here is that "1.3" and "1.4" are considered incompatible.) |
I will work on it, but for a workaround can you use caret '^'? Does it works for you? |
That basically seems to run into #104. |
so lets fix #104 at the new version , later we can work on this. |
Yes, it looks great! |
please test 0.5.5 |
I think 0.5.5 will fix these. 0.5.4 was for caret support |
Yup, 0.5.5 is looking glorious. |
Cargo ignores leading zero components of the version number when considering compatibility. So while 0.1.0 and 0.2.0 are not compatible, 1.3.0 and 1.4.0 are (as are 2.2.0 and 2.5.0). Also as far as I know 0.0.1 and 0.0.2 are also incompatible.
The text was updated successfully, but these errors were encountered: