511c2e9db2
This replaces all usage of `protoc` with `buf`. See `tools/buf/README.md` for more. |
||
---|---|---|
.. | ||
buf.gen.yaml | ||
buf.yaml | ||
README.md |
Buf
buf
is a high-performanceprotoc
replacement.
Installation
See installation instructions here.
Usage
make proto
in the root of this repo will invoke buf
using the configuration in this directory.
Why use buf
instead of protoc
?
Buf is a user-friendly tool to work with Protobuf that outperforms protoc
in every conceivable way. It was written by the author(s) of prototool
, another tool that made generating Protobuf easier, but which is now deprecated in favor of buf
. Buf also does linting and breaking-change detection.