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

refactor: simplify nusb compilation guards #56

Closed
wants to merge 1 commit into from

Conversation

louib
Copy link
Owner

@louib louib commented Sep 7, 2024

No description provided.

@louib louib mentioned this pull request Sep 7, 2024
@louib louib force-pushed the simplify-nusb-feature-flags branch from 951c1e5 to ebaca45 Compare September 7, 2024 01:26
@louib
Copy link
Owner Author

louib commented Sep 7, 2024

@droidmonkey I'm going to leave this one in draft mode for now since I'm not really comfortable with the fact that the crate no longer builds when all the features are enabled. I think to fix the feature flag issue, I'm going to introduce a usb::Backend enum that makes it possible to programmatically select the backend. This would allow both backends to be enabled at the same time.

@droidmonkey
Copy link
Collaborator

That's a good approach too, kind of some of the things we wrestled with in my "simplified defaults" build cleanup.

@louib
Copy link
Owner Author

louib commented Sep 7, 2024

Closing in favor of #57

@louib louib closed this Sep 7, 2024
@louib louib deleted the simplify-nusb-feature-flags branch September 7, 2024 20:44
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.

2 participants