Repository navigation
Raise the dependency requirements to the newest compatible versions - #303
Merged
Merged
Conversation
`cargo update` moves the lockfile to the newest versions each requirement allows, and every requirement on an external crate rises to the version now locked, so a build never resolves an older release than the one the checks ran against. Each change stays within semver compatibility. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
[claude-opus-5-5] Each external dependency requirement now matches the version the lockfile holds, so a build cannot resolve an older release than the one the checks ran against. Because the lockfile moved only to the newest version each old requirement allowed, every new requirement stays semver-compatible with the one it replaces.
Impact
A project that depends on
cgpnow resolves at leastsyn2.0.119,quote1.0.47, andproc-macro21.0.107, up from 2.0.95, 1.0.38, and 1.0.92. Every published macro crate requires the newsyn, and each one that also usesquoteandproc-macro2requires their new versions.The test crates' new requirements stay out of the published crates. The unpublished
cgp-testsandcgp-macro-testsrequireinsta1.49.0, andcgp-testsrequiresfutures0.3.34, which bringssyn3.0.10 into the lockfile throughfutures-macro. Onlycgp-testsdepends onfutures, so the published crates still build againstsyn2 alone.