apple/swift-protobuf
Plugin and runtime library for using protobuf with Swift observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 99
- Release rhythm 90
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 15
- age_days: 3653
- days_rel: 71
- days_push: 7
- n_releases_24m: 22
Adoption not part of the score
4960 stars · 533 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Apple's Swift Protobuf provides a protoc plugin for generating Swift code from .proto files plus the runtime library needed to use that generated code. It supports efficient binary and standards-compliant JSON serialization with idiomatic Swift value semantics.
Use cases
- serialize Swift structs to protobuf binary format
- generate Swift code from .proto schema files
- exchange protobuf messages between Swift and other languages
- encode and decode protobuf messages as JSON
- define schema-driven communication protocols in Swift apps
When to choose
- you need protobuf serialization in Swift or iOS projects
- you want cross-language message interchange via .proto schemas
- you need conformance-tested, performant binary and JSON encoding
When to avoid
- your project does not use Swift
- you need a serialization format without schema code generation
- you only need simple JSON without protobuf semantics
Facets
library · maturity stable
serialization cli developer-tools apis cross-platform cross-platform protobuf code-generation swift ios macos linux
1 source
- readme: https://github.com/apple/swift-protobuf · fetched 2026-08-28 · 2ba737d12601
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| apple/swift-protobuf | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="apple/swift-protobuf")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem