Decision Workspace
cbor2-derive vs cbor2 vs serde_derive
Side-by-side comparison of Rust crates
62
cbor2-derive
experimentalv1.1.6
Derive cbor2 serde impls for CBOR protocols: integer map keys, semantic tags and inspectable COSE metadata.
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.
77
serde_derive
stablev1.0.229
Macros 1.1 implementation of #[derive(Serialize, Deserialize)]
Core Metrics
| cbor2-derive | cbor2 | serde_derive | |
|---|---|---|---|
| Health Score | 62 | 69 | 77 |
| Total Downloads | 4.8K | 45.4K | 1.4B |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 15 | 263 | 99.0K |
| Releases | 13 | 15 | 271 |
| Last Updated | 16d ago | 16d ago | 83d ago |
| Age | 3m | 3m | 10y 1m |
Health Breakdown
cbor2-derive
Maintenance
18
Quality
17
Community
8
Popularity
4
Documentation
15
cbor2
Maintenance
18
Quality
17
Community
13
Popularity
6
Documentation
15
serde_derive
Maintenance
14
Quality
20
Community
20
Popularity
8
Documentation
15
Technical Details
| cbor2-derive | cbor2 | serde_derive | |
|---|---|---|---|
| Version | 1.1.6 | 1.1.6 | 1.0.229 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 11 | 4 |
| Crate Size | 21KB | 247KB | 60KB |
| Features | 0 | 9 | 2 |
| Yanked % | 0.0% | 0.0% | 0.4% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.89 | 1.89 | 1.71 |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •serde_derive leads with a health score of 77/100, but none of the options score above 80.
- •serde_derive is depended on by 99.0K crates — strongest ecosystem trust.