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

Support USB API #1694

Closed
MarcAntoine-Arnaud opened this issue Aug 2, 2019 · 4 comments
Closed

Support USB API #1694

MarcAntoine-Arnaud opened this issue Aug 2, 2019 · 4 comments
Labels
web-sys Issues related to the `web-sys` crate

Comments

@MarcAntoine-Arnaud
Copy link

Is it possible to support Web USB API ?
Examples of required features can be found here: https://developers.google.com/web/updates/2016/03/access-usb-devices-on-the-web

Only chrome as implemented that API, but it can be great to expose it.

@MarcAntoine-Arnaud MarcAntoine-Arnaud added the enhancement New feature or request label Aug 2, 2019
@alexcrichton alexcrichton added web-sys Issues related to the `web-sys` crate and removed enhancement New feature or request labels Aug 2, 2019
@alexcrichton
Copy link
Contributor

Thanks for the report! We currently support stage 3 and above proposals and we support them by copying in the official WebIDL file into our webidl folder, do you know what stage this proposal is at and where it's WebIDL can be found?

@MarcAntoine-Arnaud
Copy link
Author

Thanks for the reply.
And I learn something, I know nothing about IDL, but right now more ;-)

I have found https://wicg.github.io/webusb/#idl-index (very recent update...)

@MarcAntoine-Arnaud
Copy link
Author

Do you think it can be safe to add that one:
https://github.com/tidoust/reffy-reports/blob/master/whatwg/idl/webusb.idl ?

MarcAntoine-Arnaud added a commit to MarcAntoine-Arnaud/wasm-bindgen that referenced this issue Aug 8, 2019
@alexcrichton
Copy link
Contributor

I'm going to close this in favor of #1950 which is a general strategy of how to support unstable WebIDL files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web-sys Issues related to the `web-sys` crate
Projects
None yet
Development

No branches or pull requests

2 participants