flatbuffers
flatbuffers copied to clipboard
Memory Efficient Serialization Library
I'm generating code from https://github.com/apache/arrow/blob/master/format/Schema.fbs which has a union named `Type` and this caused flatbuffers to generate a `Type.rs` module but since `type` is a reserved word in Rust this...
The generated `mod.rs` file for my project contains `mod` and `pub use` statements with lower case names: ```rust mod dateunit; pub use self::dateunit::*; ``` However, the generated module is named...
Hi @josephDunne. I tried resolving latest conflicts with master branch in google/flatbuffers. Modified following files: ``` + both modified: include/flatbuffers/idl.h + both modified: src/flatc.cpp + both modified: src/idl_gen_cpp.cpp + both...
Currently a system of macros is used to generate builders, which requires a large amount of generated code. Using custom derived traits for the builders instead would save how much...
Write fuzz tests and other tests to so that we have feature parity with Go. This will be quite a task, here are the Go tests for reference: https://github.com/google/flatbuffers/blob/master/tests/go_test.go#L560
A lot of flatbuffer code needs to check the length of the underlying byte array. We could implement a `check()` function which returns a `Checked`. This function would check the...
@josephDunne Fill this one out, not quite sure what should be done for this one.
Generated code should have standard library traits implemented where appropriate. Let's track the list of traits to try implementing here. List of traits for structs (i.e. Tables): - ToOwned -...
`FlatBuffers` are essentially a `Borrow` of `[u8]`. We need to review the lifetimes in this crate and make sure they are sound.
Let's create a new project/crate for gRPC and merge it into the main codebase later. We can follow the gRPC implementation of Protobufs: https://github.com/stepancheg/grpc-rust