Skip to content

cppalliance/corosio

Repository files navigation

Branch master develop

Docs

Documentation

Documentation

GitHub Actions

CI

CI

Drone

Build Status

Build Status

Codecov

codecov

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](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