You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see. Thanks a lot for the explanation! And I guess cargo upgrade won't use version ranges like >= 1, < 3 for this particular use case, such that the MSRV support is satisfied with the lowest bound and the upper bound is the most recent version.
I believe this is the reason behind #875. Here is a repro case:
Note how the latest syn crate is 1.0.109 although it should be 2.0.58 at the time of this writing:
Now let's repro #875 to really see that the latest version is wrong:
sed -i 's/"1"/"2"/' Cargo.toml cargo upgrade -p syn -i --verbose --verbose
We actually get a downgrade from 2 to 1:
Note that this is not because the requirement is only the major version. We can also use a full version and get the same behavior:
sed -i 's/"1"/"2.0.58"/' Cargo.toml
We still get a downgrade with the same wrong latest version:
The text was updated successfully, but these errors were encountered: