Decision Workspace
cbor2-derive vs cbor2 vs serde_derive
Side-by-side comparison of Rust crates
60
cbor2-derive
experimentalv1.0.5
Derive cbor2 serde impls for CBOR protocols: integer map keys, semantic tags and inspectable COSE metadata.
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.
73
serde_derive
growingv1.0.228
Macros 1.1 implementation of #[derive(Serialize, Deserialize)]
Core Metrics
| cbor2-derive | cbor2 | serde_derive | |
|---|---|---|---|
| Health Score | 60 | 64 | 73 |
| Total Downloads | 157 | 350 | 1.0B |
| 30d Downloads | 0 | 0 | 74.7M |
| Dependents | 7 | 44 | 96.1K |
| Releases | 6 | 7 | 270 |
| Last Updated | 1d ago | 1d ago | 261d ago |
| Age | 3d | 3d | 9y 9m |
Health Breakdown
cbor2-derive
Maintenance
19
Quality
16
Community
7
Popularity
3
Documentation
15
cbor2
Maintenance
19
Quality
16
Community
11
Popularity
3
Documentation
15
serde_derive
Maintenance
10
Quality
20
Community
20
Popularity
8
Documentation
15
Technical Details
| cbor2-derive | cbor2 | serde_derive | |
|---|---|---|---|
| Version | 1.0.5 | 1.0.5 | 1.0.228 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 8 | 4 |
| Crate Size | 12KB | 156KB | 60KB |
| Features | 0 | 6 | 2 |
| Yanked % | 0.0% | 0.0% | 0.4% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.85 | 1.85 | 1.61 |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •serde_derive leads with a health score of 73/100, but none of the options score above 80.
- •serde_derive is depended on by 96.1K crates — strongest ecosystem trust.