Automic VaultAutomic Vault

brew

使用 Homebrew 安装 buffa

查看 buffa 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install buffa

local Homebrew formula metadata

概览

软件包摘要

Pure-Rust Protocol Buffers implementation with editions support

命令和别名

  • protoc-gen-buffa
  • protoc-gen-buffa-packaging

历史

项目历史与用法

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

安全态势

尚未找到受保护工具覆盖

没有找到 buffa 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
protoc-gen-buffacli全局可执行文件
protoc-gen-buffa-packagingcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本0.8.1
管理器更新时间2026-07-01
本地数据OK
上游当前
检测到的最新版本v0.8.1

https://github.com/anthropics/buffa

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:buffa
版本0.8.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/buffa
主页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
Pulseupdated
依赖protobuf
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebuffa
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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