-
Notifications
You must be signed in to change notification settings - Fork 11
Cargo pre-planning: Manifest changes #13
Comments
cc @Eh2406 as well. |
I'm particularly interested in improving feature flags. There are multiple enhancements that I think should be looked as a whole to ensure they all fit together (I'm not proposing they all should be done). The general categories that I see are:
Priority: I think "features" work should be a high priority because they are one of the most commonly reported issues/requested enhancements in the issue tracker today. Of all the categories, I think splitting dependency kinds would have the most benefit since it is the most difficult or impossible to work around today. Current status: There are a few old RFCs, and tons of discussion and ideas in the issue tracker, and a few implementation attempts (and Implementation: I have a rough idea of the implementation issues, which doesn't seem too difficult to me. I think the design phase will be the most difficult — enhancing in a backwards-compatible fashion with a clean UI, avoiding extra compiles of crates when not wanted, etc. I'm eager to make forward progress, and I'd love to hear from anyone who has thoughts about this. One area that I have the greatest uncertainty about is how to approach these challenges in a backwards-compatible manner. |
I don't know if this is what you had in mind, but it would be nice to have "features that automatically activate if there dependencies are met". Like if |
Yea, essentially something like rust-lang/rfcs#1787. |
ping @dwijnand, @joshtriplett, @Eh2406 some questions:
|
The RFC is accepted, so a lot of the details are planned out. The implementation has 3 part:
I think pub/priv deps is pretty orthogonal to the other suggestions here. |
cc @dwijnand, @joshtriplett
The text was updated successfully, but these errors were encountered: