Decision Workspace
cbor-smol vs cbor2 vs serde_ipld_dagcbor
Side-by-side comparison of Rust crates
56
cbor-smol
growingv0.5.1
Streamlined serde serializer/deserializer for CBOR
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.
64
serde_ipld_dagcbor
growingv0.7.0
IPLD DAG-CBOR support for Serde.
Core Metrics
| cbor-smol | cbor2 | serde_ipld_dagcbor | |
|---|---|---|---|
| Health Score | 56 | 69 | 64 |
| Total Downloads | 86.7K | 45.4K | 1.3M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 44 | 263 | 661 |
| Releases | 8 | 15 | 17 |
| Last Updated | 374d ago | 16d ago | 67d ago |
| Age | 5y 8m | 3m | 4y 7m |
Health Breakdown
cbor-smol
Maintenance
5
Quality
17
Community
15
Popularity
6
Documentation
13
cbor2
Maintenance
18
Quality
17
Community
13
Popularity
6
Documentation
15
serde_ipld_dagcbor
Maintenance
15
Quality
15
Community
15
Popularity
7
Documentation
12
Technical Details
| cbor-smol | cbor2 | serde_ipld_dagcbor | |
|---|---|---|---|
| Version | 0.5.1 | 1.1.6 | 0.7.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 OR MIT | MIT | MIT/Apache-2.0 |
| Dependencies | 12 | 11 | 10 |
| Crate Size | 21KB | 247KB | 44KB |
| Features | 13 | 9 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.89 | 1.81 |
| Owners | 3 (team) | 1 | 2 |
Links
Quick Verdict
- •cbor2 leads with a health score of 69/100, but none of the options score above 80.
- •serde_ipld_dagcbor has the most downloads (1.3M), suggesting wider adoption.
- •serde_ipld_dagcbor is depended on by 661 crates — strongest ecosystem trust.
- •⚠ cbor-smol has not been updated in over a year.
- •cbor-smol, serde_ipld_dagcbor are pre-1.0 — API may change.