Optional Scalars support for Rust (#6034)
authorCasper <casperneo@uchicago.edu>
Thu, 23 Jul 2020 23:30:27 +0000 (16:30 -0700)
committerGitHub <noreply@github.com>
Thu, 23 Jul 2020 23:30:27 +0000 (16:30 -0700)
commit043b52bd4a81fea3b8128d813852636989ff1716
tree50796aa7f073cc191ce7a559445178d996a031d9
parentc8fa0afdfc907452edbf2f5f3110f2f673fc4a70
Optional Scalars support for Rust (#6034)

* First draft of rust optionals

* Code cleanup around ftBool and ftVectorOfBool

* Tests for Rust optional scalars

* test bools too

Co-authored-by: Casper Neo <cneo@google.com>
12 files changed:
rust/flexbuffers/src/lib.rs
src/idl_gen_rust.cpp
src/idl_parser.cpp
tests/generate_code.bat
tests/generate_code.sh
tests/monster_test_generated.rs
tests/optional_scalars.fbs [new file with mode: 0644]
tests/optional_scalars_generated.rs [new file with mode: 0644]
tests/rust_usage_test/Cargo.toml
tests/rust_usage_test/tests/integration_test.rs
tests/rust_usage_test/tests/optional_scalars_test.rs [new file with mode: 0644]
tests/test.cpp