macOS
brew install buffalocal Homebrew formula metadata
brew / rank 10440
Pure-Rust Protocol Buffers implementation with editions support. Version 0.9.1 via Homebrew; verified 2026-07-23.
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 | executable | indexed executable | Discovered from the local executable index. |
protoc-gen-buffa-packaging | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:buffa |
|---|---|
| Version | 0.9.1 |
| Package manager | Homebrew |
| Homepage | https://github.com/anthropics/buffa |
| Repository | https://github.com/anthropics/buffa |
| Last updated | 2026-07-23T23:55:48Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
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.