Swift-usb: Swift libusb wrapper (currently very limited)

Hi, I have been looking around for a while and it didn’t seem like there was a libusb wrapper or any other kind of cross-platform USB library for Swift. So I have started writing one.

Currently it only supports sending bulk transfer, but if there are many people who want other libusb features, I would like to go further. Also, contributions are welcome too.

p.s. I have uploaded this repo under MIT license, and libusb is under LGPL 2.1. As far as I know it’s okay to do that if I’m not including libusb itself. Am I correct, or do I need to change the license? Rust and Node.js versions of libusb wrappers are also licensed under MIT, but I wanna know for sure I am not violating original libusb license.

3 Likes