udoprog/genco

A whitespace-aware quasiquoter for beautiful code generation.

55
/ 100
Established

Supports eight languages (Rust, Java, C#, Go, Dart, JavaScript, C, Python) with automatic import deduplication and namespace conflict resolution. Uses procedural macros (`quote!` and `quote_in!`) combined with span-based whitespace detection to preserve indentation semantics—critical for languages like Python where whitespace is syntactically meaningful. Extensible via the `impl_lang!` macro for adding custom language support.

199 stars and 101,148 monthly downloads.

No Package No Dependents
Maintenance 6 / 25
Adoption 20 / 25
Maturity 16 / 25
Community 13 / 25

How are scores calculated?

Stars

199

Forks

17

Language

Rust

License

Apache-2.0

Last pushed

Dec 07, 2025

Monthly downloads

101,148

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/udoprog/genco"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.