diff options
author | Robert <rw@users.noreply.github.com> | 2018-09-02 17:05:50 -0700 |
---|---|---|
committer | rw <me@rwinslow.com> | 2018-09-02 18:26:55 -0700 |
commit | 3c54fd964b6beae9a92955415568a001c9cea23d (patch) | |
tree | 08f625977a0de84337044abe4ca7beadb4d9ac22 /CMakeLists.txt | |
parent | e7578548a5714dd278d798344d6619d8cbbfb4d9 (diff) | |
download | flatbuffers-3c54fd964b6beae9a92955415568a001c9cea23d.tar.gz flatbuffers-3c54fd964b6beae9a92955415568a001c9cea23d.tar.bz2 flatbuffers-3c54fd964b6beae9a92955415568a001c9cea23d.zip |
Port FlatBuffers to Rust (#4898)
This is a port of FlatBuffers to Rust. It provides code generation and a
runtime library derived from the C++ implementation. It utilizes the
Rust type system to provide safe and fast traversal of FlatBuffers data.
There are 188 tests, including many fuzz tests of roundtrips for various
serialization scenarios. Initial benchmarks indicate that the canonical
example payload can be written in ~700ns, and traversed in ~100ns.
Rustaceans may be interested in the Follow, Push, and SafeSliceAccess
traits. These traits lift traversals, reads, writes, and slice accesses
into the type system, providing abstraction with no runtime penalty.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index dab15caf..122009b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,6 +54,7 @@ set(FlatBuffers_Compiler_SRCS src/idl_gen_python.cpp src/idl_gen_lobster.cpp src/idl_gen_lua.cpp + src/idl_gen_rust.cpp src/idl_gen_fbs.cpp src/idl_gen_grpc.cpp src/idl_gen_json_schema.cpp |