jiegec / usbip

A Rust library to run a USB/IP server
MIT License
255 stars 25 forks source link

Add `transfer_buffer_length` to `handle_urb` #26

Closed h7x4 closed 10 months ago

h7x4 commented 10 months ago

Closes #24.

This breaks the API. Since #18 is also breaking, could I ask both to be released under a new major version when they eventually get reviewed and merged?

Also, should we enforce people to conform to the given buffer length by providing a mutable slice and making handle_urb -> Result<()>, rather than the comment?

jiegec commented 10 months ago

Thanks, for breaking changes, we can write a changelog to help migration.