Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
flatbuffers
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
flatbuffers
Commits
63d51afd
Commit
63d51afd
authored
Jan 17, 2019
by
Vlad Frolov
Committed by
Wouter van Oortmerssen
Jan 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[docs] [rust] Add "Useful tools created by others" section (#5127)
parent
d4493165
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
RustUsage.md
docs/source/RustUsage.md
+8
-1
No files found.
docs/source/RustUsage.md
View file @
63d51afd
...
...
@@ -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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment