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 | 62 | 43 |
| Total Downloads | 10.3K | 33.5M | 1.8M |
| 30d Downloads | 0 | 4.9M | 23.5K |
| Dependents | 2 | 299 | 24 |
| Releases | 5 | 12 | 2 |
| Last Updated | 1397d ago | 83d ago | 1754d ago |
| Age | 5y 2m | 10y 11m | 7y 1m |
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 62/100, but none of the options score above 80.
- •cobs is depended on by 299 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.