🍺 BREW Explorer

← all formulae

buffa

brew install buffa v0.7.1 Apache-2.0

Pure-Rust Protocol Buffers implementation with editions support

10
30-day installs · #8563
10
90-day · #12043
10
365-day · #17515
797
★ GitHub stars · updated 2mo ago

Runtime dependencies

Build dependencies

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "rust"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "protobuf"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Pure-Rust Protocol Buffers implementation with editions support",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:01+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "buffa",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-06-20T21:58:26Z",
  "github_readme_excerpt": "# buffa\n\n[![crates.io](https://img.shields.io/crates/v/buffa.svg)](https://crates.io/crates/buffa)\n[![docs.rs](https://img.shields.io/docsrs/buffa)](https://docs.rs/buffa)\n[![CI](https://github.com/anthropics/buffa/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/anthropics/buffa/actions/workflows/ci.yml)\n[![MSRV](https://img.shields.io/crates/msrv/buffa)](Cargo.toml)\n[![deps.rs](https://deps.rs/repo/github/anthropics/buffa/status.svg)](https://deps.rs/repo/github/anthropics/buffa)\n[![no_std](https://img.shields.io/badge/no__std-compatible-blue)](docs/guide.md#no_std-usage)\n[![License](https://img.shields.io/crates/l/buffa)](LICENSE)\n\nA pure-Rust Protocol Buffers implementation with first-class [protobuf editions](https://protobuf.dev/editions/overview/) support. Written by Claude and friends \u2763\ufe0f\n\n## Why buffa?\n\nThe Rust ecosystem lacks an actively maintained, pure-Rust library that supports [protobuf editions](https://protobuf.dev/editions/overview/). Buffa fills that gap with a ground-up design that treats editions as the core abstraction. It passes the full protobuf conformance suite \u2014 binary, JSON, and text \u2014 with zero expected failures.\n\n## Features\n\n- **Editions-first.** Proto2 and proto3 are understood as feature presets within the editions model. One code path, parameterized by resolved features.\n\n- **Two-tier owned/borrowed types.** Each message generates both `MyMessage` (owned, heap-allocated) and `MyMessageView\u003c\u0027a\u003e` (zero-copy from the wire). `OwnedView\u003cV\u003e` wraps a view with its backing `Bytes` buffer for use across async boundaries.\n\n- **`MessageField\u003cT\u003e`.** Optional message fields deref to a default instance when unset -- no `Option\u003cBox\u003cT\u003e\u003e` unwrapping ceremony.\n\n- **`EnumValue\u003cT\u003e`.** Type-safe open enums with proper Rust `enum` types and preservation of unknown values, instead of raw `i32`.\n\n- **Linear-time serialization.** Cached encoded sizes prevent the exponential blowup that affects libraries without a size-caching pass.\n\n- **Un",
  "github_repo": "anthropics/buffa",
  "github_stars": 797,
  "github_topics": [],
  "homepage": "https://github.com/anthropics/buffa",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 10,
  "installs_365d": 10,
  "installs_90d": 10,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "buffa",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 8563,
  "rank_365d": 17515,
  "rank_90d": 12043,
  "raw_hash": "2ad7e73cca105bc8",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/b/buffa.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "0.7.1",
  "versioned_formulae": [],
  "why_use_this": null
}