Crates.io | usbapi |
lib.rs | usbapi |
version | 0.4.2 |
source | src |
created_at | 2020-09-06 19:19:18.375121 |
updated_at | 2021-05-10 17:03:39.081574 |
description | Access USB from Rust |
homepage | https://gitlab.com/mike7b4/usbapi-rs |
repository | https://gitlab.com/mike7b4/usbapi-rs.git |
max_upload_size | |
id | 285498 |
size | 75,548 |
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.
See Cargo.toml I try to use as less as possible.
When I started this project I was new in Rust. Some stuff will change.