Hacker News AIT2·Tools
58 pts
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.