-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
feat(extensions): Implement WebUSB API #10912
Conversation
testing this on the CI is a PITA or maybe not even be possible without self hosted runners. The closest I've got to testing this without external hardware and tweaking the kernel is using raw_gadget on Linux for which I made a little test suite located here. other alternative ways to test this:
overall the implementation is "battle-tested" on Linux and not tested on Mac or Windows at all. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
I re-opened this, just because stale bot closed it, but we discussed at the CLI design meeting. Without a clean way to test it as part of CI without self-hosted runners, we can't really add it, and it isn't enough of a priority for the core team try to find the way, so it would need to be up to the community. |
The current CI runners aren't capable of testing USB (no custom kernel no kernel modules nothing) and without the option of self hosted runners (which I am using without trouble in the webusb-rs repo) I really can't do much so I'm going to close the PR. To interested readers, I plan to expose API bindings via FFI for the webusb crate in the near future. |
Closes #9523
Implements the WebUSB API.