Skip to content
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

Rework util::Flag #179

Merged
merged 5 commits into from Apr 13, 2022
Merged

Rework util::Flag #179

merged 5 commits into from Apr 13, 2022

Conversation

TedDriggs
Copy link
Owner

@TedDriggs TedDriggs commented Apr 13, 2022

  • Add span, to facilitate good custom errors on top of flags
  • Remove trait impls to reduce API surface and align to Rust best practices

Fixes #174

This removes an inconsistency between containers and variants.
It also removes all internal uses of darling::util::Flag.
Remove BitAnd and BitOr ops from Flag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve darling::util::Flag
1 participant