Skip to content

Conversation

@scootermon
Copy link

The current implementation allows for the root package in a workspace to exclude other packages.
This doesn't make a lot of sense since a workspace doesn't need to have a root package and you can just add metadata to a workspace directly.

With this PR, the following works:

[workspace.metadata.cargo-feature-combinations]
exclude_packages = ["abc"]

Excluding packages from the root package is still supported for backwards-compatibility, but I would consider deprecating it in the future.

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