#context-generic #cgp

cgp-sync

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

#26 in #context-generic

Download history 53/week @ 2025-09-23 52/week @ 2025-09-30 49/week @ 2025-10-07 220/week @ 2025-10-14 92/week @ 2025-10-21 73/week @ 2025-10-28 35/week @ 2025-11-04 34/week @ 2025-11-11 17/week @ 2025-11-18 20/week @ 2025-11-25 20/week @ 2025-12-02 18/week @ 2025-12-09 27/week @ 2025-12-16 22/week @ 2025-12-23 19/week @ 2025-12-30 10/week @ 2026-01-06

81 downloads per month
Used in 9 crates (via cgp-async)

Apache-2.0

3KB

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

~140–530KB
~13K SLoC