15 unstable releases (5 breaking)

Uses new Rust 2024

0.6.0 Oct 26, 2025
0.5.0-beta Sep 29, 2025
0.4.2 Jul 7, 2025
0.3.0 Jan 8, 2025
0.1.0 Sep 2, 2024

#2897 in Procedural macros

Download history 180/week @ 2025-09-21 338/week @ 2025-09-28 1079/week @ 2025-10-05 1400/week @ 2025-10-12 869/week @ 2025-10-19 1319/week @ 2025-10-26 1451/week @ 2025-11-02 1608/week @ 2025-11-09 1045/week @ 2025-11-16 891/week @ 2025-11-23 1039/week @ 2025-11-30 940/week @ 2025-12-07 960/week @ 2025-12-14 297/week @ 2025-12-21 420/week @ 2025-12-28 568/week @ 2026-01-04

2,263 downloads per month
Used in 56 crates (3 directly)

Apache-2.0

4KB

This library provides helper macros for using async functions in traits.


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