commit | f47a22d80515b2a3dfdc4a47f7f889c7021922b4 | [log] [tgz] |
---|---|---|
author | Joshua Haberman <jhaberman@gmail.com> | Sun Dec 05 20:10:00 2021 -0800 |
committer | GitHub <noreply@github.com> | Sun Dec 05 20:10:00 2021 -0800 |
tree | 64911fb5943d9082f9ed25d8f9855e915d3d96a1 | |
parent | 0d87ddc7d7185ac37d6298d3c3c0e7d6f90a0cab [diff] | |
parent | 2df18f0a3e3ed35257d3fc3abbbe0fcfed64532b [diff] |
Merge pull request #460 from haberman/encode-required Added required field checking into the encoder
μ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.