commit | 75b6291e40112cb7fa691e212250af276dec5b72 | [log] [tgz] |
---|---|---|
author | Joshua Haberman <jhaberman@gmail.com> | Sun Jan 16 19:03:45 2022 -0800 |
committer | Joshua Haberman <jhaberman@gmail.com> | Sun Jan 16 19:03:45 2022 -0800 |
tree | f8086930dab0bf3899013e99028fb9b85c93687c | |
parent | cb8c159e6de3fb2466a80a2e6bbbd527da95c8ac [diff] |
Renamed upb_FieldType_* -> kUpb_FieldType_*
μpb (often written ‘upb’) is a small protobuf implementation written in C.
upb is the core runtime for protobuf languages extensions in Ruby, PHP, and (soon) Python.
While upb offers a C API, the C API & ABI are not stable. For this reason, upb is not generally offered as a C library for direct consumption, and there are no releases.
upb has comparable speed to protobuf C++, but is an order of magnitude smaller in code size.
Like the main protobuf implementation in C++, it supports:
upb also supports some features that C++ does not:
However there are a few features it does not support:
protoc
.For Ruby, use RubyGems:
$ gem install google-protobuf
For PHP, use PECL:
$ sudo pecl install protobuf
Please see CONTRIBUTING.md.