Native USB API for Rust

Heavily inspired by the C http://libusb.info driver.

Rust usbapi crate only support Linux ATM.

UsbAPI crate does not have any dependies on libusb C API's and is a clean implementation in Rust using ioctl/mmap calls on Linux using nix low level crate.

You are free to fork or send pull request and make it work on any of the below platforms.

Dependies

dev-dependies

Examples uses:

Supported functions in Linux

TODO

When I started this project I was new in Rust. Some stuff need to be done better:

For those who use any of below platforms, feel free to send a pull request: