commit | e3cb07d321e28bdd913eac2a9ae70d131ec2cdb9 | [log] [tgz] |
---|---|---|
author | jrop <jrapodaca@gmail.com> | Mon May 04 07:16:57 2020 |
committer | GitHub <noreply@github.com> | Mon May 04 07:16:57 2020 |
tree | 29b0b014a177bb56630d232329c8f773b9e4d251 | |
parent | 712866d57b5e95b64858db31425816eb97ea7630 [diff] |
[Rust] idl_gen_rust.cpp: (Option/required-aware codegen for unions) (#5850) * idl_gen_rust.cpp: Fix google/flatbuffers#5849 (Option/required-aware codegen for unions) The generated code was assuming that an Option is always returned by the union-getter method: however, this is only true if the field is not marked as `(required)`. * idl_gen_rust.cpp: flip conditional * idl_gen_rust.cpp: Add comment, as requested in review The code added is not covered by the integration test
FlatBuffers is a cross platform serialization library architected for maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first, while still having great forwards/backwards compatibility.
Go to our landing page to browse our documentation.
and more in progress...
flatbuffers
tag for any questions regarding FlatBuffers.To contribute to this project, see CONTRIBUTING.
Flatbuffers is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.