-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-featuresArea: features — conditional compilationArea: features — conditional compilationC-tracking-issueCategory: A tracking issue for something unstable.Category: A tracking issue for something unstable.S-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Z-feature-unificationNightly: resolver.feature-unifiicationNightly: resolver.feature-unifiication
Description
Summary
RFC: #3692
Implementation:
-
feature-unification = "workspace"
(feat: implement workspace feature unification #15157) -
feature-unification = "package"
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#feature-unification
Adds the resolver.feature-unification
configuration option to control how features are unified across a workspace.
Unresolved Issues
- Bikeshed the config option naming.
- for
feature-unification = "package"
, what shouldcargo tree
look like (implement package feature unification #15684 (comment))
Future Extensions
- Support in manifests
- Dependency version unification
- Unify features in other settings
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Ltrlg, James-Mart, stephenwade, null-dev, JarvisCraft and 4 moreweiznichshanesveller, LukeMathWalker, sunshowers, stephenwade, James-Mart and 2 more
Metadata
Metadata
Assignees
Labels
A-featuresArea: features — conditional compilationArea: features — conditional compilationC-tracking-issueCategory: A tracking issue for something unstable.Category: A tracking issue for something unstable.S-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Z-feature-unificationNightly: resolver.feature-unifiicationNightly: resolver.feature-unifiication
Type
Projects
Status
No status