16 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.1 Jan 16, 2025
0.1.0 Sep 3, 2024

#200 in Data structures

Download history 133/week @ 2025-08-25 171/week @ 2025-09-01 294/week @ 2025-09-08 207/week @ 2025-09-15 111/week @ 2025-09-22 331/week @ 2025-09-29 1124/week @ 2025-10-06 1329/week @ 2025-10-13 910/week @ 2025-10-20 1104/week @ 2025-10-27 1398/week @ 2025-11-03 1584/week @ 2025-11-10 998/week @ 2025-11-17 840/week @ 2025-11-24 994/week @ 2025-12-01 849/week @ 2025-12-08

3,712 downloads per month
Used in 42 crates

Apache-2.0

10KB
55 lines

cgp - Context-Generic Programming in Rust

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.

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

~1.3–1.7MB
~39K SLoC