flatc-rust
flatc-rust copied to clipboard
FlatBuffers compiler (flatc) as API (with focus on transparent `.fbs` to `.rs` code-generation via Cargo build scripts integration)
FlatBuffers flatc API for Rust

This crate provides a programmatical way to invoke flatc
command (e.g. from
build.rs
) to generate Rust (or, in fact, any other language) helpers to work
with FlatBuffers.
NOTE: You will still need
flatc
utility
version 1.10.0+ installed (there are
windows binary releases, flatbuffers
packages
for conda [Windows, Linux, MacOS],
Arch Linux).
Usage and Examples
Please, refer to the documentation for usage instructions and examples.
Acknowledgements
The design of the API was inspired by protoc-rust, protoc, and capnpc.
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.