Toolsslug: cargo-cgp

cargo-cgp

Companion tool for CGP that translates macro-expansion compile errors into user source terms with fix hints.

Curated Intelligence

1 items · Page 1/1
Hacker News AIT2·Tools
58 pts
Context-Generic Programming v0.8 Ships Compile-Error Explainer for Rust

Context-Generic Programming (CGP), a Rust language extension for compile-time pluggable trait implementations, released v0.8.0. The headline is cargo-cgp, a tool that translates macro-expansion compile errors back into the user's own source terms, telling developers which field to add and why a provider needs it. The release also adds namespaces, letting one wiring entry select providers for a whole group of components. CGP ships as an ordinary library on stable Rust, resolves wiring to static calls, and can be adopted one component at a time.

cargo-cgp | Today for AI