Skip to content

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

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

frol/flatc-rust

Folders and files

NameName
Last commit message
Last commit date
Feb 10, 2024
Mar 31, 2025
Feb 10, 2024
Jan 15, 2019
Jan 16, 2019
Feb 10, 2024
Feb 10, 2024
Jan 15, 2019
Jan 15, 2019
Feb 10, 2024

Repository files navigation

FlatBuffers flatc API for Rust Crates.io Version Documentation

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-compiler package for Debian/Ubuntu, flatbuffers packages for Arch Linux and conda [Windows, Linux, MacOS]).

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

at your option.

About

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

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages