|
co_usb
|
[!IMPORTANT] Experimental - may be unstable, expect all kind of changes
Asynchronous USB library using C++20 coroutines and Boost.Capy to create a lightweight interface for libusb-1.0. It provides minimal necessary abstractions over base libusb to enable efficient and clean concurrent I/O using Boost.Capy's common interfaces for seamless interoperability with wider coroutine ecosystem.
This project uses vcpkg as a package manager. To use it in your vcpkg-based projects, do the following:
./res/ports/boost-capy/ and ./res/ports/libusb/ to your ports dirvcpkgCMakeLists.txt: For non-vcpkg projects, you will have to use CMake's FetchContent module and provide Boost.Capy and libusb on your own. This is method of consuming co_usb is not endorsed and may not work.
To build from source:
To fully rebuild:
See docs for generated docs
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)