Open whitequark opened 6 years ago
If you are using Linux (or are interested in porting to other platforms) take a look at my RUST USB library at:
https://gitlab.com/mike7b4/usbapi-rs
My library is "pure rust' (except ioctl libc calls for the lowest level C Kernel calls)
I have not yet implemented iso support but I just added it to the todo list since I do think we should make a pure feature full rust USB API. The less C library the better :)
I post this here since I do think the maintainer will get offended ;) If not feel free to remove my comment.
I am new on Rust so I may do stuff wrong so don't hesitate to send patches or comments or fork usbapi-rs above.
My hope is that usbapi-rs can replace libusb bindings in the future. IF other contribute for other platforms :) Should be that hard to support FreeBSD/NetBSD since they are use similar ioctl kernel calls.
Btw. usbapi-rs already is supporting experimental memory mapping support which is not the case with libusb C API's.
I see isochronous transfers aren't provided. Are there any plans for them?