Skip to content
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

Ingore dev and build dependencies in feature checking #92

Merged
merged 1 commit into from
Dec 12, 2022

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.

5 participants