Decision Workspace
hardy-cbor vs cbor2 vs const-cbor
Side-by-side comparison of Rust crates
52
hardy-cbor
experimentalv2.0.0
RFC 8949 compliant canonical CBOR encoder/decoder
69
cbor2
experimentalv1.1.6
Full-featured CBOR (RFC 8949) for serde: async item I/O, canonical encoding, no_std, Value/RawValue, simple values, tags, COSE keys, well-formedness checks and diagnostics.
54
const-cbor
experimentalv0.3.0
A const-first, no_std, allocation-free CBOR (RFC 8949) codec with no dependencies and no unsafe.
Core Metrics
| hardy-cbor | cbor2 | const-cbor | |
|---|---|---|---|
| Health Score | 52 | 69 | 54 |
| Total Downloads | 881 | 45.4K | 194 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 6 | 263 | 1 |
| Releases | 2 | 15 | 3 |
| Last Updated | 87d ago | 16d ago | 45d ago |
| Age | 5m | 3m | 1m |
Health Breakdown
hardy-cbor
Maintenance
12
Quality
16
Community
8
Popularity
4
Documentation
12
cbor2
Maintenance
18
Quality
17
Community
13
Popularity
6
Documentation
15
const-cbor
Maintenance
11
Quality
18
Community
7
Popularity
3
Documentation
15
Technical Details
| hardy-cbor | cbor2 | const-cbor | |
|---|---|---|---|
| Version | 2.0.0 | 1.1.6 | 0.3.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 5 | 11 | 0 |
| Crate Size | 35KB | 247KB | 265KB |
| Features | 0 | 9 | 10 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.95 | 1.89 | 1.98 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cbor2 leads with a health score of 69/100, but none of the options score above 80.
- •cbor2 is depended on by 263 crates — strongest ecosystem trust.
- •const-cbor is pre-1.0 — API may change.