diff options
author | Vlad Frolov <frolvlad@gmail.com> | 2019-01-17 21:56:52 +0200 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2019-01-17 11:56:52 -0800 |
commit | 63d51afd1196336a7d1f56a988091ef05deb1c62 (patch) | |
tree | d7a9206e92a68e49782ec4d5dd252d3f76c2b5ed /docs/source | |
parent | d44931656ab5801db260236650701812f4a7eb18 (diff) | |
download | flatbuffers-63d51afd1196336a7d1f56a988091ef05deb1c62.tar.gz |
[docs] [rust] Add "Useful tools created by others" section (#5127)
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/RustUsage.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/source/RustUsage.md b/docs/source/RustUsage.md index f4201086..80434a47 100644 --- a/docs/source/RustUsage.md +++ b/docs/source/RustUsage.md @@ -18,7 +18,8 @@ and [Writing a schema](@ref flatbuffers_guide_writing_schema). Assuming you wrote a schema, say `mygame.fbs` (though the extension doesn't matter), you've generated a Rust file called `mygame_generated.rs` using the -compiler (e.g. `flatc --rust mygame.fbs`), you can now start using this in +compiler (e.g. `flatc --rust mygame.fbs` or via helpers listed in "Useful +tools created by others" section bellow), you can now start using this in your program by including the file. As noted, this header relies on the crate `flatbuffers`, which should be in your include `Cargo.toml`. @@ -163,4 +164,10 @@ manually wrap it in synchronisation primitives. There's no automatic way to accomplish this, by design, as we feel multithreaded construction of a single buffer will be rare, and synchronisation overhead would be costly. +## Useful tools created by others + +* [flatc-rust](https://github.com/frol/flatc-rust) - FlatBuffers compiler +(flatc) as API for transparent `.fbs` to `.rs` code-generation via Cargo +build scripts integration. + <br> |