#flat-buffers #fork #flatc

build flatc-fork

Vendored executable of flatbuffer’s flatc (maintained fork)

2 unstable releases

Uses new Rust 2024

0.6.0+25.12… Feb 18, 2026
0.5.0+25.12.19 Jan 12, 2026

#227 in Build Utils

Download history 190/week @ 2026-01-10 238/week @ 2026-01-17 198/week @ 2026-01-24 345/week @ 2026-01-31 42/week @ 2026-02-07 12/week @ 2026-02-14 50/week @ 2026-02-21 33/week @ 2026-02-28 70/week @ 2026-03-07 40/week @ 2026-03-14 154/week @ 2026-03-21 35/week @ 2026-03-28 125/week @ 2026-04-04

365 downloads per month
Used in 10 crates (4 directly)

MIT license

10MB
226K SLoC

C++ 47K SLoC // 0.1% comments Python 22K SLoC // 0.1% comments Rust 19K SLoC // 0.1% comments Swift 16K SLoC // 0.1% comments JavaScript 16K SLoC // 0.0% comments C# 16K SLoC // 0.1% comments Java 16K SLoC // 0.1% comments TypeScript 14K SLoC // 0.0% comments Kotlin 14K SLoC // 0.1% comments Go 13K SLoC // 0.1% comments Dart 12K SLoC // 0.0% comments PHP 6.5K SLoC // 0.4% comments Lua 5K SLoC // 0.1% comments Nim 4K SLoC // 0.0% comments FlatBuffers Schema 2.5K SLoC // 0.1% comments Bazel 1.5K SLoC // 0.1% comments Shell 668 SLoC // 0.4% comments Batch 182 SLoC Forge Config 5 SLoC NuGet Config 4 SLoC

Contains (JAR file, 60KB) gradle-wrapper.jar, (JAR file, 60KB) gradle-wrapper.jar

flatc

crates.io docs.rs github actions license

This is a fork of github.com/chippers/flatc.rs that I am maintaining. All credit to @chippers for the original codebase.

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.

Updating flatbuffers

Updates are done automatically via the release workflow, which is run each day at 12am UTC.

No runtime deps