#cgp #context-generic

cgp-runtime

Context-generic programming core component traits

14 unstable releases (3 breaking)

Uses new Rust 2024

new 0.6.1 Feb 1, 2026
0.6.0 Oct 26, 2025
0.5.0 Oct 12, 2025
0.5.0-beta Sep 29, 2025
0.3.0 Jan 8, 2025

#17 in #context-generic

Download history 1302/week @ 2025-10-12 731/week @ 2025-10-19 1203/week @ 2025-10-26 1358/week @ 2025-11-02 1512/week @ 2025-11-09 952/week @ 2025-11-16 793/week @ 2025-11-23 943/week @ 2025-11-30 845/week @ 2025-12-07 860/week @ 2025-12-14 207/week @ 2025-12-21 347/week @ 2025-12-28 514/week @ 2026-01-04 953/week @ 2026-01-11 1165/week @ 2026-01-18 965/week @ 2026-01-25

3,601 downloads per month
Used in 17 crates (via cgp-extra)

Apache-2.0

6KB
53 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–1.6MB
~35K SLoC