#flatbuffers #serialization #zero-copy

fbs

Fbs FlatBuffers Rust runtime library

1 unstable release

0.6.0 Oct 23, 2020

#1961 in Encoding

Download history 18/week @ 2023-11-08 18/week @ 2023-11-15 23/week @ 2023-11-22 27/week @ 2023-11-29 13/week @ 2023-12-06 18/week @ 2023-12-13 17/week @ 2023-12-20 21/week @ 2023-12-27 22/week @ 2024-01-03 22/week @ 2024-01-10 60/week @ 2024-01-17 26/week @ 2024-01-24 11/week @ 2024-01-31 16/week @ 2024-02-07 33/week @ 2024-02-14 45/week @ 2024-02-21

107 downloads per month
Used in fbs-build

Apache-2.0

71KB
1.5K SLoC

Rust-native Flatbuffers

  • Actions Status
    • Continuous Integration
    • Security audit

lib.rs:

FlatBuffers

A library for memory-efficient serialization of data.

This crate provides runtime support for the FlatBuffers format in the Rust programming language. To use this crate, first generate code with the flatc compiler, as described here: https://google.github.io/flatbuffers/ Then, include that code into your project. Finally, add this crate to your Cargo.toml.

At this time, Rust support is experimental, and APIs may change between minor versions.

At this time, to generate Rust code, you will need the latest master version of flatc, available from here: https://github.com/google/flatbuffers (On OSX, you can install FlatBuffers from HEAD with the Homebrew package manager.)

Dependencies

~73KB