Decision Workspace
try_encoding_from vs cbor vs dcbor
Side-by-side comparison of Rust crates
42
try_encoding_from
growingv0.1.4
A convenient API for serde_json, serde_yaml, serde_cbor. Meme of the TryFrom and TryInto traits.
46
cbor
growingv0.4.1
CBOR (binary JSON) with type based decoding and encoding.
68
dcbor
growingv0.25.2
Deterministic CBOR ("dCBOR") for Rust.
Core Metrics
| try_encoding_from | cbor | dcbor | |
|---|---|---|---|
| Health Score | 42 | 46 | 68 |
| Total Downloads | 8.8K | 217.0K | 95.7K |
| 30d Downloads | 70 | 796 | 8.7K |
| Dependents | 10 | 213 | 458 |
| Releases | 5 | 34 | 60 |
| Last Updated | 1882d ago | 2803d ago | 11d ago |
| Age | 5y 2m | 11y 1m | 3y 1m |
Health Breakdown
try_encoding_from
Maintenance
3
Quality
16
Community
9
Popularity
5
Documentation
9
cbor
Maintenance
6
Quality
14
Community
9
Popularity
6
Documentation
11
dcbor
Maintenance
19
Quality
15
Community
15
Popularity
6
Documentation
13
Technical Details
| try_encoding_from | cbor | dcbor | |
|---|---|---|---|
| Version | 0.1.4 | 0.4.1 | 0.25.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | Unlicense/MIT | BSD-2-Clause-Patent |
| Dependencies | 6 | 4 | 12 |
| Crate Size | 10KB | 25KB | 185KB |
| Features | 4 | 0 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | — | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •dcbor leads with a health score of 68/100, but none of the options score above 80.
- •cbor has the most downloads (217.0K), suggesting wider adoption.
- •dcbor is depended on by 458 crates — strongest ecosystem trust.
- •⚠ try_encoding_from, cbor have not been updated in over a year.