#avro-schema #schema-file #structs #generate #json #system #avsc

app struct-from-avro

Generate structs from avro schemas, you can specify the path of your avsc file on the program arguments

5 releases

0.1.4 Aug 22, 2022
0.1.3 Aug 22, 2022
0.1.2 Aug 22, 2022
0.1.1 Aug 19, 2022
0.1.0 Aug 19, 2022

#1867 in Database interfaces

MIT license

8KB

Struct From Avro

Test Status

Struct from avro is a project that aims to speed up the development process for rust systems that use avro schema, removing the need to manually map a schema to a struct, thus mitigating probable errors at development time.

Features

  • Generate Rust structs from a avro schema (avsc file or json)

Usage

sruct-from-avro your_schema.avsc > your_rust_file.rs

Installation

cargo install sruct-from-avro

Development

Want to contribute? Great!

it's as simple as coding and opening a pull request!

License

MIT

Free Software, Hell Yeah!

Dependencies

~13–25MB
~366K SLoC