#cgp #context-generic

cgp-error-eyre

Context-generic programming error handlers implemented using eyre

14 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 3, 2024

#1519 in Rust patterns

Download history 13/week @ 2025-07-16 3/week @ 2025-07-23 29/week @ 2025-08-20 21/week @ 2025-08-27 42/week @ 2025-09-03 151/week @ 2025-09-10 19/week @ 2025-09-17 98/week @ 2025-09-24 158/week @ 2025-10-01 370/week @ 2025-10-08 40/week @ 2025-10-15 250/week @ 2025-10-22 15/week @ 2025-10-29

682 downloads per month
Used in 9 crates (5 directly)

Apache-2.0

8KB
129 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.3–1.8MB
~39K SLoC