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 | 65 | 43 | 45 |
| Total Downloads | 25.0M | 1.8M | 10.1K |
| 30d Downloads | 3.4M | 19.0K | 48 |
| Dependents | 289 | 24 | 2 |
| Releases | 12 | 2 | 5 |
| Last Updated | 24d ago | 1695d ago | 1337d ago |
| Age | 10y 9m | 6y 11m | 5y |
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 65/100, but none of the options score above 80.
- •cobs is depended on by 289 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.