Rust Code Generation AI Coding Tools
Tools and libraries for generating Rust code at compile-time or runtime, including macros, builders, and code generators. Does NOT include code generation for other languages, schema-to-code tools, or general scaffolding frameworks.
There are 62 rust code generation tools tracked. 7 score above 50 (established tier). The highest-rated is lerouxrgd/rsgen-avro at 61/100 with 44 stars and 17,412 monthly downloads. 1 of the top 10 are actively maintained.
Get all 62 projects as JSON
curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=ai-coding&subcategory=rust-code-generation&limit=20"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
| # | Tool | Score | Tier |
|---|---|---|---|
| 1 |
lerouxrgd/rsgen-avro
Command line and library for generating Rust types from Avro schemas |
|
Established |
| 2 |
elastio/bon
Next-gen compile-time-checked builder generator, named function's arguments,... |
|
Established |
| 3 |
seaofvoices/darklua
A command line tool that transforms Lua code |
|
Established |
| 4 |
usethesource/rascal
The implementation of the Rascal meta-programming language (including... |
|
Established |
| 5 |
JacquesCarette/Drasil
Generate all the things (focusing on research software) |
|
Established |
| 6 |
teamplayer3/postcard-bindgen
A crate which generates bindings for the postcard binary format for other... |
|
Established |
| 7 |
finos/morphir-elm
Tools to work with the Morphir IR in Elm. |
|
Established |
| 8 |
udoprog/genco
A whitespace-aware quasiquoter for beautiful code generation. |
|
Emerging |
| 9 |
eklipse2k8/oas3-gen
Rust OpenAPI 3.1 Type Generator |
|
Emerging |
| 10 |
evestera/json_typegen
Tools and libraries to create types for Rust, Kotlin, TypeScript and Python... |
|
Emerging |
| 11 |
mtshiba/ruast
Printable & modifiable Rust AST |
|
Emerging |
| 12 |
gpu-cli/openapi-to-rust
Generate strongly-typed Rust structs, HTTP clients, and SSE streaming... |
|
Emerging |
| 13 |
bengtmartensson/IrpTransmogrifier
Parser for IRP notation protocols, with rendering, code generation, and decoding. |
|
Emerging |
| 14 |
morloc-project/morloc
A typed, polyglot, functional language |
|
Emerging |
| 15 |
zorp-corp/sword
A modern Nock runtime with automatic persistence. |
|
Emerging |
| 16 |
Holmusk/elm-street
:deciduous_tree: Crossing the road between Haskell and Elm |
|
Emerging |
| 17 |
alekratz/enum-methods
Method generation for enumerated types in Rust |
|
Emerging |
| 18 |
FedericoBruzzone/tide
Tide, a compiler for its non-textual, backend-independent IR |
|
Emerging |
| 19 |
sebastienrousseau/libmake
A code generator to reduce repetitive tasks and build high-quality Rust libraries. 🦀 |
|
Emerging |
| 20 |
RayMarch/shame
A fully featured DSL for writing shaders/GPU-pipelines in Rust |
|
Emerging |
| 21 |
antononcube/Raku-JavaScript-D3
Raku package that generates JavaScript D3.js code for plots and charts. |
|
Emerging |
| 22 |
antononcube/Raku-DSL-English-DataQueryWorkflows
Raku package for making data query workflows from natural language commands... |
|
Emerging |
| 23 |
kondrak/codespawn
Code generator written in Rust |
|
Emerging |
| 24 |
mlabs-haskell/lambda-buffers
LambdaBuffers toolkit for sharing types and their semantics between... |
|
Experimental |
| 25 |
crisidev/smithy-rs-pokemon-service
Gotta catch 'em all! |
|
Experimental |
| 26 |
gitpod-io/dockerfreeze
Freeze your development environment as a Dockerfile |
|
Experimental |
| 27 |
kegesch/pakken
Model-driven code-generation for everything. CONCEPT |
|
Experimental |
| 28 |
trskop/archetype
Archetype IDL |
|
Experimental |
| 29 |
progval/rust-xml-schema
[WIP] (Self-generating) XML parser generator based on XML schemas. |
|
Experimental |
| 30 |
furkan-guvenc/crud_routers
Automatically create crud routes for your favorite api server and orm |
|
Experimental |
| 31 |
barun-bash/human
The programming language that compiles English into production-ready apps. |
|
Experimental |
| 32 |
antononcube/WL-MonadMakers-paclet
Wolfram Language (aka Mathematica) paclet for making software monads. |
|
Experimental |
| 33 |
yassine1g1a-ctrl/Rnr-Compiler-Rust
Compiler toolchain for a Rust-like language : recursive descent parser,... |
|
Experimental |
| 34 |
jjfumero/marawacc
Parallel programming framework for accelerating Java programs on GPUs and... |
|
Experimental |
| 35 |
dnaka91/mabo
Data format and schema, with a type system as strong as Rust's. |
|
Experimental |
| 36 |
Cr0a3/CodeGenLib
A x86-64Bit code generator (like LLVM) |
|
Experimental |
| 37 |
giannifer7/weaveback
Bidirectional literate programming toolchain (noweb, macros, source tracing) |
|
Experimental |
| 38 |
JuanMarchetto/noricum
C-to-Rust migration CLI — LLM agents translate C to idiomatic, safe Rust (0... |
|
Experimental |
| 39 |
lue-bird/generate-elm
easily generate elm using elm-review |
|
Experimental |
| 40 |
chrischtel/rask
A modular, low-level code generation toolkit for Rust. |
|
Experimental |
| 41 |
clucompany/include_tt
[stable] Macros for ultra-flexible injection of compiler trees, literals, or... |
|
Experimental |
| 42 |
TextPast/linkml-rs
High-performance Rust implementation of LinkML with TypeQL generation |
|
Experimental |
| 43 |
Altai-man/perl6-Java-Generate
Generates Java code from AST in Raku |
|
Experimental |
| 44 |
efferentnervestylophorumdiphyllum452/haskell-a95
🛠️ Build and explore A95 functions in Haskell for efficient numeric... |
|
Experimental |
| 45 |
sumitvijag/ocaml-u2v
🚀 Transform OCaml code into a variety of formats with ease, enhancing... |
|
Experimental |
| 46 |
resolritter/structout
Generate multiple structs from a single definition through a procedural macro |
|
Experimental |
| 47 |
portal-co/codegen-utils
Codegen utilities |
|
Experimental |
| 48 |
lemonlimelychee/haskell-9py
🛠️ Build and run Haskell code in a Python environment, bridging the gap... |
|
Experimental |
| 49 |
realth000/racros
Collection of rust macros. |
|
Experimental |
| 50 |
mbaulch/rustifact
A seamless bridge between a build script and the main crate. |
|
Experimental |
| 51 |
casonadams/zbus-xml-gen
Generate Rust code for zbus from D-Bus XML introspection files — both client... |
|
Experimental |
| 52 |
xenoterracide/brix
Brix is a CLI tool written in Rust for scaffolding and code generation. |
|
Experimental |
| 53 |
mverleg/apivolve
An API evolution tool that helps keep your APIs backwards compatible yet clean |
|
Experimental |
| 54 |
Matthias-Fauconneau/combustion
Reaction rates and transport properties |
|
Experimental |
| 55 |
Gnarus-G/ntro
Introspect configuration files and output typescript type declarations. |
|
Experimental |
| 56 |
chippers/includer
Dynamically include assets from directories at compile time with stable rust. |
|
Experimental |
| 57 |
antononcube/WL-DSLTranslation-paclet
Wolfram Language (aka Mathematica) paclet for translation of natural... |
|
Experimental |
| 58 |
MarcusGrass/codegen-rs
A simple Rust code generation library |
|
Experimental |
| 59 |
DV8FromTheWorld/haskell-shortcut-fusion-generation
Program that can generate Fold and Build declarations for Haskell GADTs |
|
Experimental |
| 60 |
Rouilles-En-Geraniums/rust-stm32
Cross-compile to stm32, generate Rust register maps from json, task... |
|
Experimental |
| 61 |
t4ccer/ardu-gen
Embedded Arduino code generation DSL for Haskell. |
|
Experimental |
| 62 |
antononcube/Raku-EBNF-Grammar
Raku package for EBNF parsing and interpretation. |
|
Experimental |