Decision Workspace
postcard-cobs vs 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
| postcard-cobs | cobs | cobs-rs | |
|---|---|---|---|
| Health Score | 43 | 65 | 45 |
| Total Downloads | 1.8M | 25.0M | 10.1K |
| 30d Downloads | 18.6K | 3.3M | 46 |
| Dependents | 24 | 289 | 2 |
| Releases | 2 | 12 | 5 |
| Last Updated | 1695d ago | 24d ago | 1337d ago |
| Age | 6y 11m | 10y 9m | 5y |
Health Breakdown
Technical Details
| postcard-cobs | cobs | cobs-rs | |
|---|---|---|---|
| Version | 0.2.0 | 0.5.1 | 1.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 1 | 7 | 0 |
| Crate Size | 12KB | 28KB | 7KB |
| Features | 2 | 4 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2018 |
| MSRV | — | 1.87 | — |
| Owners | 1 | 3 | 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.
- •postcard-cobs, cobs are pre-1.0 — API may change.