Protocol Buffers - Google's data interchange format (grpc依赖) https://developers.google.com/protocol-buffers/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Joshua Haberman 60ae9be438 Bugfixes to upb_stdio and upb_decoder. 15 years ago
benchmarks Remove struct keyword from all types, use typedef instead. 15 years ago
core Fleshed out upb_stdio and upb_textprinter. 15 years ago
descriptor Allow static upb_strings. 15 years ago
lang_ext/python Make upb_msgdef own all its data. 15 years ago
stream Bugfixes to upb_stdio and upb_decoder. 15 years ago
tests Allow static upb_strings. 15 years ago
tools Removed union tag from types. 15 years ago
.gitignore Makefile is much improved ("make deps" works again, etc). 16 years ago
LICENSE More work on the decoder. 15 years ago
Makefile Fleshed out upb_stdio and upb_textprinter. 15 years ago
README Split src/ into core/ and stream/. 15 years ago
TODO Reduced the complexity of the cbparser interface. 15 years ago
gen-deps.sh Split src/ into core/ and stream/. 15 years ago
perf-regression-test.py Small fix to regression script. 16 years ago
perf-tests.sh Refactoring: unify upb_msg. 16 years ago

README


upb - a minimalist implementation of protocol buffers.

- For API documentation, see the header files.
- To build type "make".


ROADMAP OF THE SOURCE
=====================

benchmark/
Benchmarks of upb and other protocol buffer implementations.
core/
The core source directory. builds into core/libupb.a. Contains only the
very core library, which is capable of loading descriptors given the
appropriate decoder. Does not even contain decoders for the standard
formats like the protobuf text and binary formats.
descriptor/
Files that describe the format of Protocol Buffer "descriptors", which are
protocol buffers that describe the format of other protocol buffers. These
are used extensively inside upb.
labs/
Code that is not part of upb, but contains efficiency-related experiments
about alternate ways of implementing things. When possible, these are
benchmarked by the tests in benchmark/. We also test these with the tests
in tests/, to ensure that the alternate implementations are actually correct.
stream/
Implementations of streaming protobuf encoders and decoders.
tests/
Unit tests.
tools/
Command-line tools like the upb compiler.


CONTACT
=======

Author: Joshua Haberman (joshua@reverberate.org, haberman@google.com)
See LICENSE for copyright information.