flatbuffers/tests/namespace_test
Max Burke 1d294a31b8
Implement Serialize on generated rust types (#7022)
* fix for rust build

* Rust: Implement Serialize on generated types

For debugging convenience it is really handy to be able to dump out
types as another format (ie: json). For example, if we are logging a
type to a structured logging system, or even printing it out in a
structured way to the console.

Right now we handle this by shelling out to `flatc` which is not ideal;
by implementing Serialize on the generated types we can use any of the
Serializer-implementing packages for our structured debug output.

* clang-format

* Make the flatbuffers Rust crate only have an optional dependency on the `serde` packages.

* fix warning

* fix rust test build

* Oh yeah this needs to be initialized

* fix toml syntax

* code review feedback

* rebuild test data
2022-01-30 19:29:18 -05:00
..
NamespaceA Enable --gen-onefile in Python (#6953) 2021-12-09 15:47:09 -08:00
NamespaceC Keep methods with struct name and switch them to default (#6879) 2021-11-04 15:12:25 -07:00
namespace-a [TS] Remove wrong and obsolete NS prefix use (#6604) 2021-05-03 12:04:34 -07:00
namespace-c [TS] Remove wrong and obsolete NS prefix use (#6604) 2021-05-03 12:04:34 -07:00
namespace_a Implement Serialize on generated rust types (#7022) 2022-01-30 19:29:18 -05:00
namespace_c Implement Serialize on generated rust types (#7022) 2022-01-30 19:29:18 -05:00
mod.rs Refactor idl_gen_rust and Rust generated code to use consistent whitespace (#6809) 2021-08-23 18:53:10 -04:00
namespace_test1.fbs [Rust] Ensure unions are referenced with the correct path (#6422) 2021-01-25 09:33:47 -08:00
namespace_test1.ts Rework how Rust generated files are laid out (#6731) 2021-07-22 19:02:28 -04:00
namespace_test1_generated.h Added verifier alignment checking to table fields (#7018) 2022-01-14 14:39:15 -08:00
namespace_test1_generated.lobster [Rust] Ensure unions are referenced with the correct path (#6422) 2021-01-25 09:33:47 -08:00
namespace_test1_namespace_a.namespace_b_generated.dart dart - add Packable interface (#6846) 2021-09-28 13:23:30 -07:00
namespace_test2.fbs [Rust] Ensure unions are referenced with the correct path (#6422) 2021-01-25 09:33:47 -08:00
namespace_test2.ts Rework how Rust generated files are laid out (#6731) 2021-07-22 19:02:28 -04:00
namespace_test2_generated.h [C++] Support C++ object copies and moves (#5988) 2022-01-29 14:24:24 -08:00
namespace_test2_generated.lobster [Rust] Ensure unions are referenced with the correct path (#6422) 2021-01-25 09:33:47 -08:00
namespace_test2_namespace_a_generated.dart dart - add Packable interface (#6846) 2021-09-28 13:23:30 -07:00
namespace_test2_namespace_c_generated.dart dart - add Packable interface (#6846) 2021-09-28 13:23:30 -07:00