flatbuffers/samples
Casper 12e341e4f8
Rework how Rust generated files are laid out (#6731)
* Refactored Rust Generated code into a module directory.

Each symbol will be generated into one file and then
imported into a module. This breaks the "out_dir"
pattern where some users would generate code in their
target/ directory. Also, these objects are best used
in their own module. It will be hard for users to share
their own module structure with flatbuffers namespaces.

There may be solutions to these drawbacks but that should
be discussed. I don't want to overengineer here.

* shadow error

* try fix .bat file

* fix .bat 2

* Restore accidentally deleted files

* Fixed some DONOTSUBMITs and made Rust outdir pattern use symlinks.

* fixed binary files

* git clang format

* make generated onefiles not public and fix .bat

* reduced diff with master in generate_code.sh

* fix shadowed variable

* add object api flags to .bat

* space

* Removed extern crate and extra &

* use statement

* more clippy lints

* format

* Undo extern crate -> use change, it actually matters to our tests

Co-authored-by: Casper Neo <cneo@google.com>
2021-07-22 19:02:28 -04:00
..
lua/MyGame/Sample
rust_generated Rework how Rust generated files are laid out (#6731) 2021-07-22 19:02:28 -04:00
csharp_sample.sh
dart_sample.sh Dart - regenerate example after recent flatc changes (#6733) 2021-07-15 13:03:27 -07:00
go_sample.sh
java_sample.sh
javascript_sample.sh
kotlin_sample.sh
monster.bfbs Replace filenames in reflection with filenames+includes. (#6703) 2021-06-19 19:21:33 -04:00
monster.fbs
monster_generated.h Improve generated comparisons for tables (#6486) 2021-06-21 11:37:56 -07:00
monster_generated.lobster
monster_generated.swift More missing version changes 2021-05-10 11:45:16 -07:00
monsterdata.json [docs] typo: updates monsterdata.json to be valid json (#5978) 2020-06-17 22:35:24 -07:00
php_sample.sh
python_sample.sh
sample_bfbs.cpp
sample_binary.cpp
sample_binary.go
sample_binary.lobster
sample_binary.lua
sample_binary.py Fix sample_binary.py to use latest EndVector without a size. (#6478) 2021-02-19 12:13:50 -08:00
sample_binary.rs Rework how Rust generated files are laid out (#6731) 2021-07-22 19:02:28 -04:00
sample_binary.swift Fixes grammer (#6477) 2021-02-19 12:16:38 -08:00
sample_flexbuffers.rs Rework how Rust generated files are laid out (#6731) 2021-07-22 19:02:28 -04:00
sample_flexbuffers_serde.rs Rust Flexbuffers (#5669) 2020-05-07 14:11:26 -07:00
sample_text.cpp
sample_text.lobster
SampleBinary.cs
SampleBinary.java
SampleBinary.kt
SampleBinary.php