mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-05-29 22:19:28 -07:00
nusb is a pure Rust library providing the same low level access to USB devices that rusb/libusb provide. This commit removes rusb (and thus the dependence on libusb) and replaces it with nusb in the serial utility. The only functional change is that nusb does not support timeouts for bulk data commands. nusb is async. This commit contains a naïve implementation that simply blocks on bulk reads and writes in send_command().
67 KiB
67 KiB