Decision Workspace
tokio-serde-cbor vs capsule-lib vs futures_cbor_codec
Side-by-side comparison of Rust crates
47
tokio-serde-cbor
growingv0.7.0
Integration of serde_cbor into tokio-io, to allow sending CBOR encoded frames across network (and possibly through other transports).
50
capsule-lib
experimentalv1.0.0
Rust library for reading and writing Capsule container files
36
futures_cbor_codec
growingv0.3.1
A codec for framing an AsyncRead/AsyncWrite with cbor for all types that are serializable with serde
Core Metrics
| tokio-serde-cbor | capsule-lib | futures_cbor_codec | |
|---|---|---|---|
| Health Score | 47 | 50 | 36 |
| Total Downloads | 93.3K | 35 | 18.8K |
| 30d Downloads | 6.5K | 35 | 204 |
| Dependents | 20 | 1 | 0 |
| Releases | 10 | 1 | 9 |
| Last Updated | 1287d ago | 11d ago | 1750d ago |
| Age | 8y 11m | 11d | 6y 7m |
Health Breakdown
tokio-serde-cbor
Maintenance
5
Quality
14
Community
10
Popularity
6
Documentation
12
capsule-lib
Maintenance
12
Quality
16
Community
7
Popularity
2
Documentation
13
futures_cbor_codec
Maintenance
4
Quality
9
Community
6
Popularity
5
Documentation
12
Technical Details
| tokio-serde-cbor | capsule-lib | futures_cbor_codec | |
|---|---|---|---|
| Version | 0.7.0 | 1.0.0 | 0.3.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0/MIT | GPL-3.0-or-later | Apache-2.0/MIT |
| Dependencies | 6 | 5 | 9 |
| Crate Size | 16KB | 8KB | 21KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 11.1% |
| Edition | 2018 | 2021 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •capsule-lib leads with a health score of 50/100, but none of the options score above 80.
- •tokio-serde-cbor has the most downloads (93.3K), suggesting wider adoption.
- •⚠ tokio-serde-cbor, futures_cbor_codec have not been updated in over a year.
- •tokio-serde-cbor, futures_cbor_codec are pre-1.0 — API may change.