mtshiba/ruast

Printable & modifiable Rust AST

48
/ 100
Emerging

This tool helps Rust developers programmatically construct, modify, and print Rust Abstract Syntax Trees (ASTs). You provide structured Rust code components (like function definitions, structs, or expressions), and it generates well-formatted, valid Rust code as text or `proc_macro2::TokenStream` for further processing. It's for Rust developers who need to generate or transform Rust code.

Use this if you need to generate Rust code, build Rust `proc-macros` without relying on `syn` and `quote`, or perform systematic transformations on Rust code structures.

Not ideal if you need to feed ASTs directly into the Rust compiler or are looking for a tool to parse existing Rust source files into a modifiable AST.

Rust-development code-generation macro-development AST-manipulation developer-tooling
No Package No Dependents
Maintenance 10 / 25
Adoption 8 / 25
Maturity 16 / 25
Community 14 / 25

How are scores calculated?

Stars

8

Forks

3

Language

Rust

License

Apache-2.0

Last pushed

Mar 01, 2026

Monthly downloads

42

Commits (30d)

0

Get this data via API

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

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