Native USB API for Rust

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

Rust usbapi crate currently only support Linux.

UsbAPI crate does not have any dependencies 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 other platforms.

Dependencies

See Cargo.toml

Supported functions in Linux

TODO

When I started this project I was new in Rust. Some stuff will change.

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