FlatBuffers: Memory Efficient Serialization Library
Go to file
Liu Liu 090caa2809
Move reflection_ts_fbs into a separate directory (#7342)
Right now, reflection_ts_fbs target is in reflection/BUILD.bazel.

This is not ideal because reflection:reflection_fbs_schema is referenced
from :flatc in the root. Thus, for any Bazel projects that want to
include flatbuffers, they need to include npm / yarn_install and nodejs
support all because reflection/BUILD.bazel loads typescript.bzl and that
requires all TypeScript things.

This PR separated that target into a different subdirectory, freeing
root BUILD.bazel from that dependency.
2022-06-13 09:36:52 -04:00
.bazelci [swift] Add bazel configuration for Swift (#7195) 2022-03-29 21:30:33 -07:00
.github Adds full supposed for Wasm in the swift lib (#7328) 2022-05-29 20:56:33 +02:00
.travis Ran clang-format-all.sh. Removed default --style=file parameter (#6639) 2021-05-15 12:54:08 -07:00
CMake Use DESCRIPTION only if CMake version >= 3.9 (#7166) 2022-03-13 12:49:18 -07:00
android [Kotlin] Update gradle to 7.4.1 and simplify config files. (#7231) 2022-04-08 11:23:13 -07:00
bazel [grpc] Support latest version of grpc PoC (#6338) 2021-03-25 12:12:35 -07:00
benchmarks Started to migrate to target_compile_options (#7222) 2022-04-06 13:25:43 -07:00
conan attempt to remove appveyor (#7056) 2022-01-31 21:52:15 -08:00
dart Namerdart (#7187) 2022-03-28 18:07:09 -04:00
docs Update Rust docs page (#7296) 2022-05-12 10:02:14 -07:00
go GetUOffsetT must get value by GetUint32 not GetInt32 (#6072) 2021-02-18 18:38:25 -08:00
grpc Replaced ToDasherCase with ConvertCase (#7131) 2022-02-23 22:31:40 -06:00
include/flatbuffers Started implementation for private flags in rust (#7269) 2022-06-05 23:04:05 +02:00
java/com/google/flatbuffers removed BSD-3-Clause license and Zlib licenses (#7073) 2022-02-02 13:12:01 -08:00
js [JS/TS] Rewrite flexbuffers JS to TS (#6148) 2020-10-19 13:11:35 -07:00
kotlin [Kotlin] Update gradle to 7.4.1 and simplify config files. (#7231) 2022-04-08 11:23:13 -07:00
lobster [Lobster] file_identifier support 2022-03-08 15:39:12 -08:00
lua [Lua] manipulate byte array as string (#6624) 2021-05-07 22:57:13 -07:00
mjs [JS/TS] Modernize TypeScript / JavaScript flatbuffers support (#6095) 2020-09-17 12:21:14 -07:00
net/FlatBuffers Add overloads for C# ByteBuffer/FlatBufferBuilder to allow adding vector blocks from ArraySegments or IntPtr (#7193) 2022-04-01 13:35:07 -07:00
php Performance improvement to generated+supporting PHP (#5080) 2018-12-20 16:10:20 -08:00
python Implement optional scalars for Python (#7318) 2022-06-13 09:16:00 -04:00
reflection Move reflection_ts_fbs into a separate directory (#7342) 2022-06-13 09:36:52 -04:00
rust Rust: fix a name conflict when building with "no_std" feature (#7268) 2022-04-25 13:09:41 -04:00
samples Add explicit return types to lobster generated code (#7312) 2022-05-23 10:50:01 -07:00
scripts Implement optional scalars for Python (#7318) 2022-06-13 09:16:00 -04:00
snap use improved versioning (#6691) 2021-06-11 15:27:59 -07:00
src Implement optional scalars for Python (#7318) 2022-06-13 09:16:00 -04:00
swift Adds full supposed for Wasm in the swift lib (#7328) 2022-05-29 20:56:33 +02:00
tests Implement optional scalars for Python (#7318) 2022-06-13 09:16:00 -04:00
ts [TS] Add single-file ts codegen & bazel rule for typescript (#7161) 2022-03-10 10:08:13 -08:00
.clang-format Made all C++ files clang-formatted. 2017-12-21 11:45:02 -08:00
.editorconfig Unify line ending rules in '.editorconfig' and '.gitattributes' (#5231) 2019-03-18 12:47:07 -07:00
.eslintrc.js [JS/TS] Modernize TypeScript / JavaScript flatbuffers support (#6095) 2020-09-17 12:21:14 -07:00
.gitattributes Unify line ending rules in '.editorconfig' and '.gitattributes' (#5231) 2019-03-18 12:47:07 -07:00
.gitignore Started to migrate to target_compile_options (#7222) 2022-04-06 13:25:43 -07:00
.travis.yml Removed test/generate_code.{sh|bat} (#6873) 2021-11-30 23:13:24 -08:00
BUILD.bazel code gen flexbuffer verifier (#7207) 2022-04-05 16:29:42 -07:00
CMakeLists.txt Add test for nested buffer verifier (#7252) 2022-04-18 10:20:06 -07:00
CONTRIBUTING.md Fixed link to Google C++ Style Guide. 2017-02-08 16:37:25 -08:00
Formatters.md Ran clang-format-all.sh. Removed default --style=file parameter (#6639) 2021-05-15 12:54:08 -07:00
LICENSE.txt Fixed Apache license not using canonical version. 2019-11-04 17:15:56 -08:00
SECURITY.md Create Security.md 2021-05-19 11:55:50 -07:00
WORKSPACE [swift] Add bazel configuration for Swift (#7195) 2022-03-29 21:30:33 -07:00
build_defs.bzl Move flatbuffer_ts_library to typescript.bzl (#7183) 2022-03-22 21:41:39 -07:00
composer.json (PHP) add experimental support for PHP language. 2015-11-18 00:26:39 +09:00
conanfile.py Update Conan version Automatically (#5027) 2018-11-12 08:49:42 -08:00
package.json [TS] Add single-file ts codegen & bazel rule for typescript (#7161) 2022-03-10 10:08:13 -08:00
pom.xml update Java version to 2.0.3 2021-08-14 09:01:54 -07:00
readme.md Update readme.md (#7257) 2022-04-20 09:49:35 -07:00
swift.swiftformat Improves documentation, and adding DocC (#6784) 2021-09-27 20:59:19 +02:00
tsconfig.json [JS/TS] Rewrite flexbuffers JS to TS (#6148) 2020-10-19 13:11:35 -07:00
tsconfig.mjs.json [JS/TS] Rewrite flexbuffers JS to TS (#6148) 2020-10-19 13:11:35 -07:00
typescript.bzl Move reflection_ts_fbs into a separate directory (#7342) 2022-06-13 09:36:52 -04:00
yarn.lock [TS] Add single-file ts codegen & bazel rule for typescript (#7161) 2022-03-10 10:08:13 -08:00

readme.md

logo FlatBuffers

Build status Fuzzing Status Join the chat at https://gitter.im/google/flatbuffers Discord Chat Twitter Follow Twitter Follow

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.

Supported operating systems

  • Windows
  • MacOS X
  • Linux
  • Android
  • And any others with a recent C++ compiler.

Supported programming languages

  • C++
  • C#
  • C
  • Dart
  • Go
  • Java
  • JavaScript
  • Lobster
  • Lua
  • PHP
  • Python
  • Rust
  • Swift
  • TypeScript

and more in progress...

Contribution

To contribute to this project, see CONTRIBUTING.

Security

Please see our Security Policy for reporting vulnerabilities.

Licensing

Flatbuffers is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.