USCiLab/cereal
A C++11 library for serialization observed · 2026-08-28
Health v2 · maintenance only
55/100
- Activity 71
- Release rhythm 8
- 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: n/a
- age_days: 4817
- days_rel: n/a
- days_push: 175
- n_releases_24m: 0
Adoption not part of the score
4703 stars · 843 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
cereal is a header-only C++11 serialization library that converts arbitrary data types into formats like compact binary, XML, or JSON. It is fast, lightweight, easy to extend, and has no external dependencies.
Use cases
- serialize C++ structs to binary files
- save and load objects as JSON in C++
- persist application state with XML archives
- serialize smart pointers and STL containers
- add reversible data encoding to a C++ project without dependencies
When to choose
- you need a header-only, dependency-free C++ serialization solution
- you want support for multiple formats (binary, XML, JSON) with one API
- you need C++11 compatibility and easy extensibility for custom types
When to avoid
- you need cross-language serialization with schema evolution like protobuf
- you require a non-C++ language binding
- you need a runtime library rather than header-only templates
Facets
library · maturity stable
serialization developer-tools developer-tools files cross-platform cpp cross-platform windows header-only c-plus-plus binary-serialization xml no-dependencies linux macos
1 source
- readme: https://github.com/USCiLab/cereal · fetched 2026-08-28 · 653a06613a5e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| USCiLab/cereal | main | 55 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem