Skip to content

Catch up with the API changes in cargo_metadata 0.20#8

Merged
romnn merged 3 commits into
romnn:mainfrom
ppentchev:pp-cargo-metadata
Jun 29, 2025
Merged

Catch up with the API changes in cargo_metadata 0.20#8
romnn merged 3 commits into
romnn:mainfrom
ppentchev:pp-cargo-metadata

Conversation

@ppentchev

Copy link
Copy Markdown
Contributor

Hi,

As explained in #7, cargo_metadata 0.20 introduces an incompatible API change, and the "0" version of cargo-feature-combinations's dependency on it is not strict enough to handle that, which breaks the build.

As noted in the issue itself, this pull request contains both options for fixing the build; feel free to pick one, tell me to rebase/squash/whatever as necessary, or, of course, choose a completely different way to deal with this as is your maintainer's right.

G'luck,
Peter

This, by itself, is enough to fix the build.
Adapting to cargo_metadata 0.20 will require a couple of changes.

Addresses: romnn#7
The cargo_metadata crate now uses cargo-util-schema's PackageName instead of
plain old strings.

Closes: romnn#7
@romnn

romnn commented Jun 29, 2025

Copy link
Copy Markdown
Owner

Thanks a lot for your PR, really appreciated!

Closes #7

@romnn romnn merged commit 7e9d3fb into romnn:main Jun 29, 2025
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants