Decision Workspace
sacp-cbor vs minicbor vs cbor2
Side-by-side comparison of Rust crates
60
sacp-cbor
experimentalv0.17.3
SACP-CBOR/1: strict deterministic CBOR validation and canonical encoding (hot-path optimized, no_std-capable).
68
minicbor
stablev2.2.2
A small CBOR codec suitable for no_std environments.
64
cbor2
experimentalv1.0.5
Full-featured CBOR (RFC 8949) for serde: async item I/O, canonical encoding, no_std, Value/RawValue, tags, COSE keys, validation and diagnostics.
Core Metrics
| sacp-cbor | minicbor | cbor2 | |
|---|---|---|---|
| Health Score | 60 | 68 | 64 |
| Total Downloads | 4.7K | 9.3M | 350 |
| 30d Downloads | 2.1K | 829.4K | 0 |
| Dependents | 8 | 1.9K | 44 |
| Releases | 27 | 69 | 7 |
| Last Updated | 2d ago | 29d ago | 1d ago |
| Age | 4m | 6y 3m | 3d |
Health Breakdown
sacp-cbor
Maintenance
19
Quality
16
Community
9
Popularity
4
Documentation
12
minicbor
Maintenance
17
Quality
21
Community
14
Popularity
8
Documentation
8
cbor2
Maintenance
19
Quality
16
Community
11
Popularity
3
Documentation
15
Technical Details
| sacp-cbor | minicbor | cbor2 | |
|---|---|---|---|
| Version | 0.17.3 | 2.2.2 | 1.0.5 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | BlueOak-1.0.0 | MIT |
| Dependencies | 7 | 2 | 8 |
| Crate Size | 110KB | 36KB | 156KB |
| Features | 10 | 4 | 6 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.75 | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •minicbor leads with a health score of 68/100, but none of the options score above 80.
- •minicbor is depended on by 1.9K crates — strongest ecosystem trust.
- •sacp-cbor is pre-1.0 — API may change.