#cgp #context-generic

cgp-field-macro-lib

Context-generic programming field macros as a library

3 releases (breaking)

0.3.0 Jan 8, 2025
0.2.0 Dec 8, 2024
0.1.0 Sep 2, 2024

#2556 in Procedural macros

Download history 44/week @ 2025-09-18 62/week @ 2025-09-25 62/week @ 2025-10-02 50/week @ 2025-10-09 92/week @ 2025-10-16 83/week @ 2025-10-23 62/week @ 2025-10-30 50/week @ 2025-11-06 62/week @ 2025-11-13 59/week @ 2025-11-20 68/week @ 2025-11-27 58/week @ 2025-12-04 40/week @ 2025-12-11 64/week @ 2025-12-18 54/week @ 2025-12-25 63/week @ 2026-01-01

231 downloads per month
Used in 28 crates (via cgp-field-macro)

Apache-2.0

14KB
353 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

~0.4–0.8MB
~20K SLoC