Decision Workspace
cose2 vs sd-cwt vs cbor2
Side-by-side comparison of Rust crates
61
cose2
experimentalv0.5.1
A Rust library for CBOR Object Signing and Encryption (COSE, RFC 9052) and CBOR Web Token (CWT, RFC 8392), built on cbor2.
52
sd-cwt
experimentalv0.3.0
Selective Disclosure CBOR Web Token (SD-CWT) helpers for cose2.
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.
Core Metrics
| cose2 | sd-cwt | cbor2 | |
|---|---|---|---|
| Health Score | 61 | 52 | 69 |
| Total Downloads | 3.3K | 37 | 45.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 36 | 0 | 263 |
| Releases | 8 | 2 | 15 |
| Last Updated | 16d ago | 33d ago | 16d ago |
| Age | 3m | 3m | 3m |
Health Breakdown
cose2
Maintenance
18
Quality
14
Community
10
Popularity
4
Documentation
15
sd-cwt
Maintenance
15
Quality
14
Community
6
Popularity
2
Documentation
15
cbor2
Maintenance
18
Quality
17
Community
13
Popularity
6
Documentation
15
Technical Details
| cose2 | sd-cwt | cbor2 | |
|---|---|---|---|
| Version | 0.5.1 | 0.3.0 | 1.1.6 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 9 | 3 | 11 |
| Crate Size | 141KB | 28KB | 247KB |
| Features | 6 | 0 | 9 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.89 | 1.89 | 1.89 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cbor2 leads with a health score of 69/100, but none of the options score above 80.
- •cbor2 is depended on by 263 crates — strongest ecosystem trust.
- •cose2, sd-cwt are pre-1.0 — API may change.