pkg.soopen package index

brew / 排名 10440

使用 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。

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
protoc-gen-buffa可执行文件已索引可执行文件从本地可执行文件索引发现。
protoc-gen-buffa-packaging可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本0.9.1
管理器更新时间2026-07-23
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:buffa
版本0.9.1
软件包管理器Homebrew
主页https://github.com/anthropics/buffa
仓库https://github.com/anthropics/buffa
最后更新2026-07-23T23:55:48Z
Pulseupdated
Bottle未记录
服务未声明

来源线索

由仓库数据生成

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

使用的来源

  • cross-ecosystem install command graph
  • curated package history
  • pkg.so package database
  • pkgdb category and tag curation