lerouxrgd/rsgen-avro
Command line and library for generating Rust types from Avro schemas
Generates serde-compatible Rust structs from Avro schemas with support for default values, logical types (dates/timestamps), and custom union deserialization. The generator accepts schemas via glob patterns, raw JSON strings, or programmatic APIs, and offers configurable output including optional `rustfmt` formatting, builder derivation, and AvroSchema trait implementations. Integrates tightly with the `apache-avro` crate for reading/writing generated types.
44 stars and 17,412 monthly downloads.
Stars
44
Forks
35
Language
Rust
License
MIT
Category
Last pushed
Mar 07, 2026
Monthly downloads
17,412
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/lerouxrgd/rsgen-avro"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
elastio/bon
Next-gen compile-time-checked builder generator, named function's arguments, and more!
seaofvoices/darklua
A command line tool that transforms Lua code
usethesource/rascal
The implementation of the Rascal meta-programming language (including interpreter, type checker,...
JacquesCarette/Drasil
Generate all the things (focusing on research software)
finos/morphir-elm
Tools to work with the Morphir IR in Elm.