udoprog/genco
A whitespace-aware quasiquoter for beautiful code generation.
This project helps Rust developers programmatically create source code in other programming languages. You provide code snippets and data, and it outputs well-formatted, syntactically correct code, handling details like imports and indentation automatically. This is for Rust developers who need to generate code for multiple target languages.
199 stars and 107,598 monthly downloads.
Use this if you are a Rust developer building tools that need to output clean, idiomatic source code in languages like Python, Java, C#, or JavaScript.
Not ideal if you only need to generate code for a single language and prefer using a language-specific templating engine.
Stars
199
Forks
17
Language
Rust
License
Apache-2.0
Category
Last pushed
Dec 07, 2025
Monthly downloads
107,598
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.
Related tools
lerouxrgd/rsgen-avro
Command line and library for generating Rust types from Avro schemas
seaofvoices/darklua
A command line tool that transforms Lua code
elastio/bon
Next-gen compile-time-checked builder generator, named function's arguments, and more!
usethesource/rascal
The implementation of the Rascal meta-programming language (including interpreter, type checker,...
JacquesCarette/Drasil
Generate all the things (focusing on research software)