| Branch | master |
develop |
|---|---|---|
Boost.Corosio is a coroutine-only I/O library for C++20 that provides asynchronous networking primitives with automatic executor affinity propagation. Every operation returns an awaitable that integrates with the IoAwaitable protocol, ensuring your coroutines resume on the correct executor without manual dispatch.
Clone and build with CMake (dependencies are fetched automatically):
git clone https://github.com/cppalliance/corosio.git
cd corosio
cmake --preset standalone
cmake --build --preset standaloneThis downloads Boost 1.90 and Capy automatically. The library is built to out/standalone/.
-
CMake 3.25 or later
-
C+20 compiler (GCC 12, Clang 17+, MSVC 14.34+)
-
Ninja (recommended) or other CMake generator
Distributed under the Boost Software License, Version 1.0. (See accompanying file [LICENSE_1_0.txt](LICENSE_1_0.txt) or copy at https://www.boost.org/LICENSE_1_0.txt)