# Install buffa with Homebrew

Pure-Rust Protocol Buffers implementation with editions support. Version 0.8.1 via Homebrew; verified 2026-07-01.

## Install

```sh
sudo av install brew:buffa
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install buffa
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:buffa
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/buffa>
- **Version:** 0.8.1
- **Source summary:** Pure-Rust Protocol Buffers implementation with editions support
- **Homepage:** <https://github.com/anthropics/buffa>
- **Repository:** <https://github.com/anthropics/buffa>
- **Upstream docs:** <https://github.com/anthropics/buffa/blob/main/docs/guide.md>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/anthropics/buffa/archive/refs/tags/v0.8.1.tar.gz>
- **Last updated:** 2026-07-01T17:59:46Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- protoc-gen-buffa (cli)
- protoc-gen-buffa-packaging (cli)
- protoc-gen-buffa (alias)
- protoc-gen-buffa-packaging (alias)

## Dependencies

- protobuf

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.8.1
- Package-manager updated: 2026-07-01
- Local data: ok
- Upstream repository: https://github.com/anthropics/buffa
- Upstream latest detected: v0.8.1 (current)
## Project history and usage

buffa is Anthropic's pure-Rust Protocol Buffers implementation with first-class support for protobuf editions, distributed as Rust crates and protoc-compatible generator binaries.

### Project history

The project was created to fill a Rust ecosystem gap identified in its README: an actively maintained, pure-Rust Protobuf library with editions support. Its design treats editions as the main abstraction while keeping proto2 and proto3 as feature presets inside that model.

buffa is organized as a small workspace of runtime, descriptor, code generation, build-helper, and protoc-plugin crates, with `protoc-gen-buffa` also published as a Buf remote plugin.

### Adoption history

buffa is young and pre-1.0, so its public adoption history is still mostly package-manager and Rust-crate availability rather than broad ecosystem standardization. The Homebrew formula packages the generator binaries for users who want CLI/plugin installation outside Cargo.

Its migration guides from `prost` and `protobuf` position it for Rust teams already invested in Protobuf who want editions support, zero-copy view types, reflection, `no_std + alloc`, or a different generated-code API.

### How it is used

Recommended use is through `buf generate` with the `buf.build/anthropics/buffa` remote plugin, or locally through `protoc-gen-buffa` and `protoc-gen-buffa-packaging`. Rust build-script users can also use `buffa-build` from `build.rs` when `protoc` is available.

The generated API emphasizes owned and borrowed message representations, unknown-field preservation, binary/JSON/text encodings, runtime reflection, and compatibility with protobuf editions.

### Why package nerds care

buffa is interesting as a Rust Protobuf stack that integrates with both Cargo and Buf's remote-plugin packaging model. It shows the newer pattern where code generators can be consumed through the Buf Schema Registry instead of every developer installing matching local binaries.

For package maintainers, the notable surface is split between library crates and CLI plugin executables, which makes it both a Rust dependency and a system package.

### Timeline

- 2020s: Protobuf editions created a new compatibility target for Protobuf implementations.
- 2025: buffa pre-1.0 tags appeared publicly and the README documented semver expectations for 0.x releases.
- 2025: Homebrew packaged the `protoc-gen-buffa` and `protoc-gen-buffa-packaging` executables.

### Related projects

- `prost` and `protobuf` are the Rust Protobuf implementations explicitly covered by buffa migration guides.
- Buf is the recommended generation path in the README through the `buf.build/anthropics/buffa` remote plugin.
- `protoc` remains supported through local protoc generator binaries and `buffa-build`.

### Sources

- <https://github.com/anthropics/buffa>
- <https://github.com/anthropics/buffa/blob/main/docs/guide.md>
- <https://github.com/anthropics/buffa/blob/main/docs/migration-from-prost.md>
- <https://github.com/anthropics/buffa/blob/main/docs/migration-from-protobuf.md>
- source_facts.package-manager


## Security Notes

No matching local secret-handling manifest was found for buffa. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** buffa
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [MCP tool packages](https://www.automicvault.com/pkg/mcp-tools/) - Matched curated package taxonomy and local package facts.
- [protobuf](https://www.automicvault.com/pkg/brew/protobuf/) - Runtime dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [protoc-gen-go](https://www.automicvault.com/pkg/brew/protoc-gen-go/) - Local package facts share a topical domain. Shared terms: buffers, gen, protobuf, protoc, protocol.
- [protobuf-c](https://www.automicvault.com/pkg/brew/protobuf-c/) - Local package facts share a topical domain. Shared terms: buffers, gen, protobuf, protoc, protocol.
- [protoc-gen-doc](https://www.automicvault.com/pkg/brew/protoc-gen-doc/) - Local package facts share a topical domain. Shared terms: buffers, gen, protobuf, protoc, protocol.

## Combined YAML source

View the package source record on GitHub. [combined/buffa.yml](https://github.com/automic-vault/db/blob/main/combined/buffa.yml)


## Sources

- Nucleus package database
- package-page enrichment
- curated package history
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
