#flatbuffers

flatc

Vendored executable of flatbuffer’s flatc

5 unstable releases

0.2.1+2.0.0 Jul 10, 2021
0.2.0+2.0.0 Jul 9, 2021
0.1.1+1.12.0 Apr 26, 2020
0.1.0+1.12.0 Apr 26, 2020

#185 in Build Utils

MIT license

4.5MB
101K SLoC

C++ 33K SLoC // 0.1% comments Rust 9K SLoC // 0.0% comments Python 9K SLoC // 0.1% comments C# 8K SLoC // 0.1% comments Dart 7K SLoC // 0.1% comments Java 7K SLoC // 0.3% comments Go 6.5K SLoC // 0.1% comments TypeScript 5K SLoC // 0.1% comments JavaScript 4K SLoC // 0.0% comments PHP 4K SLoC // 0.4% comments Kotlin 3.5K SLoC // 0.0% comments Lua 3K SLoC // 0.1% comments Swift 1.5K SLoC // 0.3% comments Shell 833 SLoC // 0.4% comments FlatBuffers Schema 541 SLoC // 0.1% comments Batch 308 SLoC // 0.1% comments Prolog 18 SLoC

flatc

Builds flatbuffers and provides the path to the built flatc. Intended for use by build scripts, but can be useful otherwise if the project is using flatc during runtime. The flatbuffers version is determined by the build identifier for the crate version. v0.2.0+2.0.0 means the crate is version 0.2.0 and the vendored flatbuffers version is 2.0.0. There's no pressure in releasing crate version 1.0.0 since this is primarily a build tool, so it will come eventually after nothing needs to be fixed/added for a while.

crates.io docs.rs github actions license


lib.rs:

Builds flatbuffers and provides the path to the built flatc in the public API. Typically meant to be used by build scripts, but can be useful otherwise if the project itself is using flatc during runtime.

No runtime deps