Decision Workspace
cobs-rs vs cobs vs postcard-cobs
Side-by-side comparison of Rust crates
A minimal no-std library for doing Consistent Overhead Byte Stuffing
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.
Core Metrics
| cobs-rs | cobs | postcard-cobs | |
|---|---|---|---|
| Health Score | 45 | 65 | 43 |
| Total Downloads | 10.1K | 25.0M | 1.8M |
| 30d Downloads | 46 | 3.3M | 18.6K |
| Dependents | 2 | 289 | 24 |
| Releases | 5 | 12 | 2 |
| Last Updated | 1337d ago | 24d ago | 1695d ago |
| Age | 5y | 10y 9m | 6y 11m |
Health Breakdown
Technical Details
| cobs-rs | cobs | postcard-cobs | |
|---|---|---|---|
| Version | 1.1.2 | 0.5.1 | 0.2.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 7 | 1 |
| Crate Size | 7KB | 28KB | 12KB |
| Features | 0 | 4 | 2 |
| 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.
- •⚠ cobs-rs, postcard-cobs have not been updated in over a year.
- •cobs, postcard-cobs are pre-1.0 — API may change.