-
Notifications
You must be signed in to change notification settings - Fork 741
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
Start prototyping superstruct features #5610
base: unstable
Are you sure you want to change the base?
Conversation
Once a fork has landed, is the plan to consolidate all features into the same fork variant? |
@dapplion I guess we could if we want to simplify the code, but I don't see any strong reason to. The main reason the existing forks are combined is that it would be unnecessary to split them up. |
I've updated a decent amount of boilerplate to use the There are a few things of note: 1. Superstruct quirks.Currently, compiling crates depending on the new This basically means in it's current state, it will never pass CI. We'll need a solution to this in the long term. I think @michaelsproul might have some ideas here. 2. Removing
|
Proposed Changes
Start using superstruct's burgeoning support for features & fork ordering:
Additional Info
Current limitations:
features
branch is out of date withmain
(doesn't supportflatten
ormeta_variants
)types
) can use theFORK_ORDER
. We may need some hacks to correct this, as presently the data is stored between macro invocations in a crate-specific part of theOUT_DIR
.