Skip to content

cppalliance/corosio

Repository files navigation

Branch Docs GitHub Actions Drone Codecov
master Documentation CI Build Status codecov
develop Documentation CI Build Status codecov

Boost.Corosio

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.

Quick Start

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 standalone

This downloads Boost 1.90 and Capy automatically. The library is built to out/standalone/.

Requirements

  • CMake 3.25 or later
  • C++20 compiler (GCC 12+, Clang 17+, MSVC 14.34+)
  • Ninja (recommended) or other CMake generator

License

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)

Releases

No releases published

Packages

No packages published

Contributors 7