Decision Workspace
cosey vs cbor2 vs heapless-bytes
Side-by-side comparison of Rust crates
51
cosey
growingv0.4.0
Data types and serde for public COSE_Keys
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.
62
heapless-bytes
growingv0.5.0
Newtype around heapless byte Vec with efficient serde.
Core Metrics
| cosey | cbor2 | heapless-bytes | |
|---|---|---|---|
| Health Score | 51 | 69 | 62 |
| Total Downloads | 87.2K | 45.4K | 357.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 45 | 263 | 138 |
| Releases | 7 | 15 | 6 |
| Last Updated | 373d ago | 16d ago | 68d ago |
| Age | 6y 8m | 3m | 6y 8m |
Health Breakdown
cosey
Maintenance
6
Quality
13
Community
16
Popularity
6
Documentation
10
cbor2
Maintenance
18
Quality
17
Community
13
Popularity
6
Documentation
15
heapless-bytes
Maintenance
12
Quality
16
Community
17
Popularity
7
Documentation
10
Technical Details
| cosey | cbor2 | heapless-bytes | |
|---|---|---|---|
| Version | 0.4.0 | 1.1.6 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 OR MIT | MIT | Apache-2.0 OR MIT |
| Dependencies | 9 | 11 | 4 |
| Crate Size | 14KB | 247KB | 14KB |
| Features | 0 | 9 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.89 | — |
| Owners | 3 (team) | 1 | 3 (team) |
Links
Quick Verdict
- •cbor2 leads with a health score of 69/100, but none of the options score above 80.
- •heapless-bytes has the most downloads (357.6K), suggesting wider adoption.
- •cbor2 is depended on by 263 crates — strongest ecosystem trust.
- •⚠ cosey has not been updated in over a year.
- •cosey, heapless-bytes are pre-1.0 — API may change.