mirror of
https://github.com/G2-Games/cross-usb.git
synced 2025-04-19 21:32:53 -05:00
Update README.md
Added Todo section
This commit is contained in:
parent
9667394126
commit
2e0de161dd
1 changed files with 6 additions and 0 deletions
|
@ -16,3 +16,9 @@ A USB library which works seamlessly across most native and WASM targets.
|
||||||
For native USB, the crate utilizies [nusb](https://github.com/kevinmehall/nusb), a pure rust library similar to the very popular libusb.
|
For native USB, the crate utilizies [nusb](https://github.com/kevinmehall/nusb), a pure rust library similar to the very popular libusb.
|
||||||
|
|
||||||
For WASM, this crate utilizes [web-sys](https://crates.io/crates/web-sys) which gives access to browser API calls, and in this case is used to interact with [WebUSB](https://developer.mozilla.org/en-US/docs/Web/API/WebUSB_API)
|
For WASM, this crate utilizes [web-sys](https://crates.io/crates/web-sys) which gives access to browser API calls, and in this case is used to interact with [WebUSB](https://developer.mozilla.org/en-US/docs/Web/API/WebUSB_API)
|
||||||
|
|
||||||
|
## TODO
|
||||||
|
|
||||||
|
- [ ] Add choice for native backend between `libusb` wrapper and pure rust `nusb`
|
||||||
|
- [ ] Allow platform-specific operations if the user requires them
|
||||||
|
- [ ] Hot plug support... requires either using `libusb` as an optional backend or for [`nusb` to implement it](https://github.com/kevinmehall/nusb/issues/5)
|
Loading…
Reference in a new issue