Decision Workspace
const-cbor vs const-cbor-serde vs hardy-cbor
Side-by-side comparison of Rust crates
54
const-cbor
experimentalv0.3.0
A const-first, no_std, allocation-free CBOR (RFC 8949) codec with no dependencies and no unsafe.
47
const-cbor-serde
experimentalv0.1.0
Serde support for the const-cbor CBOR (RFC 8949) codec
52
hardy-cbor
experimentalv2.0.0
RFC 8949 compliant canonical CBOR encoder/decoder
Core Metrics
| const-cbor | const-cbor-serde | hardy-cbor | |
|---|---|---|---|
| Health Score | 54 | 47 | 52 |
| Total Downloads | 194 | 17 | 881 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 0 | 6 |
| Releases | 3 | 1 | 2 |
| Last Updated | 45d ago | 45d ago | 87d ago |
| Age | 1m | 1m | 5m |
Health Breakdown
const-cbor
Maintenance
11
Quality
18
Community
7
Popularity
3
Documentation
15
const-cbor-serde
Maintenance
10
Quality
15
Community
6
Popularity
1
Documentation
15
hardy-cbor
Maintenance
12
Quality
16
Community
8
Popularity
4
Documentation
12
Technical Details
| const-cbor | const-cbor-serde | hardy-cbor | |
|---|---|---|---|
| Version | 0.3.0 | 0.1.0 | 2.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 0 | 4 | 5 |
| Crate Size | 265KB | 15KB | 35KB |
| Features | 10 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.98 | 1.98 | 1.95 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •const-cbor leads with a health score of 54/100, but none of the options score above 80.
- •hardy-cbor has the most downloads (881), suggesting wider adoption.
- •const-cbor, const-cbor-serde are pre-1.0 — API may change.