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

23 downloads per month

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

~14–25MB
~387K SLoC