Supporting unstable libraries via bitflags_derive #435
Labels
No labels
bug
good first issue
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-bitflags/bitflags#435
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've just published an initial sketch of a library called
bitflags-derivethat takes advantage of theFlagstrait to support flags-aware custom derives. This should be a good way for us to add support for external libraries in yourbitflags!invocations going forwards.So far I've just added support for deriving
Debugto get a bit of infrastructure in place, but would love to add support for other libraries there too, likebinrwfor example, which we couldn't add due to it being unstable in #370. If there are any you would find particularly useful, please feel free to raise an issue over in bitflags-derive and/or PR support for it. We'll use optional features inbitflags-deriveto toggle other libraries on and off.