A Rust implementation of the usbredirparser C library, maintaining ABI compatibility.
I (Titus Rwantare) am taking on this project to learn C/Rust interop.
Extensive use of unsafe and LLM generated tests. This code may set your computer on fire.
This project is a port of the original usbredir parser at http://gitlab.freedesktop.org/spice/usbredir
The original library is licensed under LGPL-2.1 or later.
Currently implemented:
usbredirparser_createusbredirparser_initusbredirparser_destroy
This project uses cbindgen to automatically generate C headers.
cargo buildThe generated header can be found at include/usbredirparser.h.