fxamacker/cbor
CBOR codec (RFC 8949, RFC 8742) with CBOR tags, Go struct tag options (toarray, keyasint, omitempty, omitzero), float64/32/16, big.Int, and fuzz tested. observed · 2026-09-01
Health v2 · maintenance only
91/100
- Activity 100
- Release rhythm 74
- 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: 105
- age_days: 2667
- days_rel: 16
- days_push: 3
- n_releases_24m: 6
Adoption not part of the score
1081 stars · 82 forks observed · 2026-09-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library for encoding and decoding CBOR (RFC 8949) and CBOR Sequences (RFC 8742) with full conformance to the IETF standard. It supports CBOR tags, deterministic encoding, Go struct tag options, big integers, and is fuzz tested.
Use cases
- encode and decode CBOR data in Go
- serialize Go structs to binary CBOR format
- parse CBOR sequences per RFC 8742
- implement COSE or CWT protocols
- replace JSON with a compact binary format
- produce deterministic CBOR encodings for signing
- decode CBOR with big integer and float16 support
When to choose
- you need a standards-compliant CBOR codec in Go
- you need deterministic encoding for cryptographic signatures
- you want a fuzz-tested, widely adopted serialization library
- you target TinyGo or constrained environments
When to avoid
- you need human-readable formats like JSON or YAML
- your project is not in Go
- you need schema-based code generation like Protocol Buffers
Facets
library · maturity stable
serialization parser developer-tools apis files go cross-platform cbor rfc-8949 codec binary-format -alternative cose cwt tinygo
1 source
- readme: https://github.com/fxamacker/cbor · fetched 2026-09-01 · 26f217ea2031
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fxamacker/cbor | main | 91 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem