# buffa を Homebrew でインストール

buffa のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install buffa
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:buffa
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/buffa>
- **バージョン:** 0.8.1
- **ソース概要:** Pure-Rust Protocol Buffers implementation with editions support
- **ホームページ:** <https://github.com/anthropics/buffa>
- **リポジトリ:** <https://github.com/anthropics/buffa>
- **上流ドキュメント:** <https://github.com/anthropics/buffa/blob/main/docs/guide.md>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/anthropics/buffa/archive/refs/tags/v0.8.1.tar.gz>
- **最終更新:** 2026-07-01T17:59:46Z
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

- protoc-gen-buffa (cli)
- protoc-gen-buffa-packaging (cli)
- protoc-gen-buffa (エイリアス)
- protoc-gen-buffa-packaging (エイリアス)

## 依存関係

- protobuf

## ビルド依存関係

- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 0.8.1
- マネージャ更新日: 2026-07-01
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/anthropics/buffa
- 検出された最新: v0.8.1 (最新)
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 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`.

### ソース

- <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


## セキュリティノート

buffa に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


## ソースデータベース詳細

- **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


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Language runtime packages](https://www.automicvault.com/ja/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [MCP tool packages](https://www.automicvault.com/ja/pkg/mcp-tools/) - Matched curated package taxonomy and local package facts.
- [protobuf](https://www.automicvault.com/ja/pkg/brew/protobuf/) - Runtime dependency declared by Homebrew.
- [rust](https://www.automicvault.com/ja/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [protoc-gen-go](https://www.automicvault.com/ja/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/ja/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/ja/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)


## ソース

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