mainmatter / cargo-autoinherit

(Auto)DRY for your Rust dependencies
Apache License 2.0
124 stars 8 forks source link

[Feature Request] Feature Unification Setting #26

Open AlJohri opened 3 months ago

AlJohri commented 3 months ago

Currently cargo-autoinherit will keep features in the workspace members as opposed to unifying them and bringing them all into the central virtual manifest.

As an option, it would be great to use feature unification to specify the union of all features in the virtual manifest and each workspace member would then just have: clap = { workspace = true } or clap = { workspace = true, optional = true }.