Skip to content

Conversation

@bkchr
Copy link
Member

@bkchr bkchr commented Dec 11, 2022

With cargo resolver 2, features enabled in build or dev dependencies are not merged anymore with the normal dependencies. So, for our script here we should also only enable normal dependencies.

With cargo resolver 2, features enabled in build or dev dependencies are
not merged anymore with the normal dependencies. So, for our script here
we should also only enable normal dependencies.
Copy link
Contributor

@joao-paulo-parity joao-paulo-parity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know what the script is supposed to validate exactly, so I don't know if this PR aligns with the script's intentions. Implementation-wise this PR looks good. features,normal is documented in https://github.com/rust-lang/cargo/blob/62b6d5a112fb500bfeefd62d15c421b82bd233fb/src/doc/man/cargo-tree.md#tree-options FWIW.

@bkchr bkchr merged commit 86c3c22 into master Dec 12, 2022
@bkchr bkchr deleted the bkchr-ignore-dev-and-build-deps branch December 12, 2022 15:39
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.

6 participants