andreasbuhr-cppcoro/cci.20230629

A library of C++ coroutine abstractions for the coroutines TS
Recipe info
2023-12-04

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
andreasbuhr-cppcoro/cci.20230629

Using andreasbuhr-cppcoro

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
andreasbuhr-cppcoro/cci.20230629
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("andreasbuhr-cppcoro/cci.20230629")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): cppcoro
  • CMake target name(s): cppcoro::cppcoro
  • pkg-config file name(s): andreasbuhr-cppcoro.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(cppcoro REQUIRED)
# ...
target_link_libraries(YOUR_TARGET cppcoro::cppcoro)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the andreasbuhr-cppcoro homepage listed above:

#include "cppcoro/async_auto_reset_event.hpp"
#include "cppcoro/async_generator.hpp"
#include "cppcoro/async_latch.hpp"
#include "cppcoro/async_manual_reset_event.hpp"
#include "cppcoro/async_mutex.hpp"
#include "cppcoro/async_scope.hpp"
#include "cppcoro/awaitable_traits.hpp"
#include "cppcoro/broken_promise.hpp"
#include "cppcoro/cancellation_registration.hpp"
#include "cppcoro/cancellation_source.hpp"
#include "cppcoro/cancellation_token.hpp"
#include "cppcoro/config.hpp"
#include "cppcoro/coroutine.hpp"
#include "cppcoro/detail/any.hpp"
#include "cppcoro/detail/get_awaiter.hpp"
#include "cppcoro/detail/is_awaiter.hpp"
#include "cppcoro/detail/lightweight_manual_reset_event.hpp"
#include "cppcoro/detail/linux.hpp"
#include "cppcoro/detail/manual_lifetime.hpp"
#include "cppcoro/detail/remove_rvalue_reference.hpp"
#include "cppcoro/detail/sync_wait_task.hpp"
#include "cppcoro/detail/unwrap_reference.hpp"
#include "cppcoro/detail/void_value.hpp"
#include "cppcoro/detail/when_all_counter.hpp"
#include "cppcoro/detail/when_all_ready_awaitable.hpp"
#include "cppcoro/detail/when_all_task.hpp"
#include "cppcoro/detail/win32.hpp"
#include "cppcoro/detail/win32_overlapped_operation.hpp"
#include "cppcoro/file.hpp"
#include "cppcoro/file_buffering_mode.hpp"
#include "cppcoro/file_open_mode.hpp"
#include "cppcoro/file_read_operation.hpp"
#include "cppcoro/file_share_mode.hpp"
#include "cppcoro/file_write_operation.hpp"
#include "cppcoro/filesystem.hpp"
#include "cppcoro/fmap.hpp"
#include "cppcoro/generator.hpp"
#include "cppcoro/inline_scheduler.hpp"
#include "cppcoro/io_service.hpp"
#include "cppcoro/is_awaitable.hpp"
#include "cppcoro/multi_producer_sequencer.hpp"
#include "cppcoro/net/ip_address.hpp"
#include "cppcoro/net/ip_endpoint.hpp"
#include "cppcoro/net/ipv4_address.hpp"
#include "cppcoro/net/ipv4_endpoint.hpp"
#include "cppcoro/net/ipv6_address.hpp"
#include "cppcoro/net/ipv6_endpoint.hpp"
#include "cppcoro/net/socket.hpp"
#include "cppcoro/net/socket_accept_operation.hpp"
#include "cppcoro/net/socket_connect_operation.hpp"
#include "cppcoro/net/socket_disconnect_operation.hpp"
#include "cppcoro/net/socket_recv_from_operation.hpp"
#include "cppcoro/net/socket_recv_operation.hpp"
#include "cppcoro/net/socket_send_operation.hpp"
#include "cppcoro/net/socket_send_to_operation.hpp"
#include "cppcoro/on_scope_exit.hpp"
#include "cppcoro/operation_cancelled.hpp"
#include "cppcoro/read_only_file.hpp"
#include "cppcoro/read_write_file.hpp"
#include "cppcoro/readable_file.hpp"
#include "cppcoro/recursive_generator.hpp"
#include "cppcoro/resume_on.hpp"
#include "cppcoro/round_robin_scheduler.hpp"
#include "cppcoro/schedule_on.hpp"
#include "cppcoro/sequence_barrier.hpp"
#include "cppcoro/sequence_range.hpp"
#include "cppcoro/sequence_traits.hpp"
#include "cppcoro/shared_task.hpp"
#include "cppcoro/single_consumer_async_auto_reset_event.hpp"
#include "cppcoro/single_consumer_event.hpp"
#include "cppcoro/single_producer_sequencer.hpp"
#include "cppcoro/static_thread_pool.hpp"
#include "cppcoro/sync_wait.hpp"
#include "cppcoro/task.hpp"
#include "cppcoro/when_all.hpp"
#include "cppcoro/when_all_ready.hpp"
#include "cppcoro/writable_file.hpp"
#include "cppcoro/write_only_file.hpp"