Update cargo dependencies based on rust-version
#26060
Replies: 2 comments 4 replies
-
In Renovate terminology we need to do this:
The above 3 points can be converted into separate feature requests as necessary. These combined would then enable us to support I think users will need to take care of the exceptions you mention sing packageRules. Further:
|
Beta Was this translation helpful? Give feedback.
-
Hi there, Please do not post comments like: "Any update on this?" or "When will this be fixed?". If you're asking because you want to know if there's been some progress, then please know that we work in the open in this repo. If there was an update to this Discussion or Issue, you would see it already. So please don't ask "just in case". If you're asking because you want to get our attention, then please don't do that either. It wastes maintainer time and pollutes the repo. You're welcome to fix issues yourself, hire someone to help you, or wait for someone else to do the work. You're not welcome to post the equivalent of "Hey, someone else should really do something about this". If you are a paying Mend.io customer, contact your support or customer success representative, and tell them this issue is important to you. We expect everyone to follow these rules, no matter if you use the free tiers, or are a paying Mend customer. Please read our Code of Conduct, how we prioritize work to learn more about how we prioritize what to work on. Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Tell us more.
Packages in the rust community can specify their minimum supported rust version via
Cargo.toml
spackage.rust-version
field. In this case, users usually want their version requirements inCargo.toml
and the pinned versions inCargo.lock
to be compatible withpackage.rust-version
.Exceptions
Cargo.lock
to verify everything is compatiblerust-version
srust-version
Things can get a little messy when a
[workspace]
has multiplerust-version
s in it, likecargo
itself (since the field is on a per-package basis).They can also specify their development version via
rust-toolchain.toml
files. In these cases, version requirements and pinned versions should always be compatible.Resources
rust-version
(if set)Cargo.toml
in the.crate
filecargo update --breaking
flag (replacing third-partycargo upgrade
) will pick compatible versions (may be turned off)Beta Was this translation helpful? Give feedback.
All reactions