From d90061f5ae7ecc4592bfd4f17a99cdfc417fc588 Mon Sep 17 00:00:00 2001 From: G2 <72430668+G2-Games@users.noreply.github.com> Date: Tue, 30 Jan 2024 11:34:26 -0600 Subject: [PATCH] Create README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..16d6eb6 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# Cross USB + +An attempt at a USB library which works seamlessly across native and WASM targets. + +## Dependencies + +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)