#cgp #context-generic

cgp-runtime

Context-generic programming core component traits

15 unstable releases (4 breaking)

Uses new Rust 2024

new 0.7.0 Feb 28, 2026
0.6.0 Oct 26, 2025
0.4.2 Jul 7, 2025
0.3.0 Jan 8, 2025

#16 in #context-generic

Download history 1439/week @ 2025-11-08 1040/week @ 2025-11-15 790/week @ 2025-11-22 935/week @ 2025-11-29 844/week @ 2025-12-06 865/week @ 2025-12-13 215/week @ 2025-12-20 347/week @ 2025-12-27 511/week @ 2026-01-03 943/week @ 2026-01-10 1163/week @ 2026-01-17 998/week @ 2026-01-24 1078/week @ 2026-01-31 1330/week @ 2026-02-07 1282/week @ 2026-02-14 1861/week @ 2026-02-21

5,743 downloads per month
Used in 17 crates (via cgp-extra)

Apache-2.0

6KB
54 lines

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

~1–1.6MB
~35K SLoC