Decision Workspace
cobs vs postcard-cobs vs cobs-rs
Side-by-side comparison of Rust crates
This is an implementation of the Consistent Overhead Byte Stuffing (COBS) algorithm. COBS is an algorithm for transforming a message into an encoding where a specific value (the "sentinel" value) is not used. This value can then be used to mark frame boundaries in a serial communication channel.
This is an implementation of the Consistent Overhead Byte Stuffing (COBS) algorithm. COBS is an algorithm for transforming a message into an encoding where a specific value (the "sentinel" value) is not used. This value can then be used to mark frame boundaries in a serial communication channel.
A minimal no-std library for doing Consistent Overhead Byte Stuffing
Core Metrics
| cobs | postcard-cobs | cobs-rs | |
|---|---|---|---|
| Health Score | 62 | 43 | 45 |
| Total Downloads | 33.5M | 1.8M | 10.3K |
| 30d Downloads | 4.9M | 23.5K | 0 |
| Dependents | 299 | 24 | 2 |
| Releases | 12 | 2 | 5 |
| Last Updated | 83d ago | 1754d ago | 1397d ago |
| Age | 10y 11m | 7y 1m | 5y 2m |
Health Breakdown
Technical Details
| cobs | postcard-cobs | cobs-rs | |
|---|---|---|---|
| Version | 0.5.1 | 0.2.0 | 1.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 7 | 1 | 0 |
| Crate Size | 28KB | 12KB | 7KB |
| Features | 4 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2018 | 2018 |
| MSRV | 1.87 | — | — |
| Owners | 3 | 1 | 1 |
Links
Quick Verdict
- •cobs leads with a health score of 62/100, but none of the options score above 80.
- •cobs is depended on by 299 crates — strongest ecosystem trust.
- •⚠ postcard-cobs, cobs-rs have not been updated in over a year.
- •cobs, postcard-cobs are pre-1.0 — API may change.