open-nomad/tools/buf
2020-11-20 11:00:24 -05:00
..
buf.gen.yaml proto: Switch to using buf (#9308) 2020-11-17 07:01:48 -08:00
buf.yaml lint protobuf files 2020-11-20 11:00:24 -05:00
README.md proto: Switch to using buf (#9308) 2020-11-17 07:01:48 -08:00

Buf

buf is a high-performance protoc 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.