-
Notifications
You must be signed in to change notification settings - Fork 17
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
Why Pin Dependency Versions? #44
Comments
Hey, because the new version of |
Shouldn't the users who need a minimal rustc version vendor a lockfile which resolves this? I don't see why this crate should be so opinionated as it's effectively taking the role of the lockfile despite being a library, not a lockfile. To be clear, I do get not updating to versions exclusive to new rustc versions. I don't get pinning to specific patch versions. |
There are some people who say that breaking MSRV requires a bump of the major version. Quite controversial topic, but I would follow this for now. I will hopefully in the short term write my own small toml parser to not require to pin the dependency. |
I don't inherently disagree with the MSRV commentary. I was disagreeing that supporting a toml range which has options which breaks MSRV means proc-macro-crate is itself breaking MSRV, so long as the range has options which don't break MSRV. Of course, it's up to you, and I don't want to push the issue. I do appreciate the planned migration which would remove the pin :) |
We use A dependency on
My understanding is that libraries should never use I am pretty sure you did not want to block your users from moving to a newer |
Any chance #45 could be merged into the next release? |
No change besides MSRV, see bkchr/proc-macro-crate#44
I'm curious, why did you pin dependency versions instead of allowing updates to be used?
For example,
toml_edit
's latest version is0.21.0
, or0.20.7
on the0.20.x
line. Likewise,0.6.5
is the latest version oftoml_datetime
.Upgrading
proc-macro-crate
just caused some of my dependencies to downgrade.The text was updated successfully, but these errors were encountered: