A Rust library to run a USB/IP server to simulate USB devices.
See examples directory. Two examples are provided:
To run example, run:
bash
$ env RUST_LOG=info cargo run --example hid_keyboard
Then, in a USB/IP client environment:
bash
$ usbip list -r $remote_ip
$ usbip attach -r $remote_ip -b $bus_id
Then, you can inspect the simulated USB device behavior in both sides.
See code comments. Not finalized yet, so get prepared for api breaking changes.