Planus – alternative flatbuffer implementation

Build Status Rustc Version 1.57+ License Crates.io Rust Documentation

Planus is an alternative compiler for flatbuffers, an efficient cross platform serialization library.

Goals

Non-goals

Languages supported

Currently we only support Rust, though we plan to add support for more languages in the future. Pull requests are welcome!

Getting started

First, install the command line utility shell cargo install planus-cli

Next, write a flatbuffers file (or use an existing one). Then you can generate code using the command shell planus rust -o <output_path.rs> <input_file.fbs>

For a complete example, see examples/rust.

Status of the implementation

We support most of the base language, though some parts have not been tested in-depth.

Things we do not currently support:

Things we will probably never support:

Minimum Supported Rust Version (MSRV)

Our current Minimum Supported Rust Version is 1.57.0. When adding features, we will follow these guidelines:

I think I found a bug!

Please file an issue! We also consider poor error messages or unintuitive behavior to be high-priority bugs.