#cgp-context-generic #cgp

cgp-async

Async-generic primitives to support both sync/async in context-generic programming

8 unstable releases (3 breaking)

0.4.2 Jul 7, 2025
0.4.1 Jun 13, 2025
0.4.0 May 9, 2025
0.3.0 Jan 8, 2025
0.1.0 Sep 2, 2024

#5 in #cgp-context-generic

Download history 37/week @ 2025-07-23 22/week @ 2025-07-30 29/week @ 2025-08-06 15/week @ 2025-08-13 147/week @ 2025-08-20 122/week @ 2025-08-27 251/week @ 2025-09-03 240/week @ 2025-09-10 78/week @ 2025-09-17 95/week @ 2025-09-24 123/week @ 2025-10-01 105/week @ 2025-10-08 289/week @ 2025-10-15 172/week @ 2025-10-22 132/week @ 2025-10-29 40/week @ 2025-11-05

657 downloads per month

Apache-2.0

6KB

cgp - Context-Generic Programming in Rust

Apache 2.0 Licensed Crates.io Rust Stable Rust 1.81+

Overview

The cgp project contains a collection of micro Rust crates that empowers context-generic programming (CGP), a new modular programming paradigm in Rust.

To learn more about context-generic programming, check out the our website contextgeneric.dev, and our book Context-Generic Programming Patterns.

[!WARNING] At the moment, the cgp crate its constructs are mostly undocumented within Rustdoc. The best way to understand CGP is to read the book Context-Generic Programming Patterns.

Dependencies

~160–570KB
~13K SLoC