macOS
brew install buffalocal Homebrew formula metadata
brew
Pure-Rust Protocol Buffers implementation with editions support. Version 0.8.1 via Homebrew; verified 2026-07-01.
install
brew install buffalocal Homebrew formula metadata
overview
Pure-Rust Protocol Buffers implementation with editions support
history
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.
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.
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.
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.
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.
security posture
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.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
protoc-gen-buffa | cli | global executable | |
protoc-gen-buffa-packaging | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/anthropics/buffa
install metadata
| Package key | brew:buffa |
|---|---|
| Version | 0.8.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/buffa |
| 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 |
| Pulse | updated |
| Dependencies | protobuf |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.