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

Feature --exclude-unpublished #710

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Tastaturtaste
Copy link

This PR adds a new command line flag --exclude-unpublished. If the flag is set, the construction of the crate graph does not use explicitly unpublished crates as roots. Workspace members are considered explicitly unpublished if their manifest specifies publish = false. For motivation please see the associated issue.

This PR depends on EmbarkStudios/krates#94 to fix the workspace filters mechanism of https://github.com/EmbarkStudios/krates. Documentation for the flag will follow as soon as I find the time.

…rs are only considered unpublished if they are explicitly marked as publish = false in their Cargo.toml
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.

1 participant