Decision Workspace
utf8-rune vs utf8-stream vs camino
Side-by-side comparison of Rust crates
Lightweight crate that aims at being a building block for libraries that work with UTF-8 data. This crate provides the struct Rune which can thought of in some cases as a drop-in replacement to Rust's char type. This crate also provides a few low-level tools to work with raw pointers of bytes and work with a sequence of bytes to produce valid UTF-8 data. The idea of Rune both borrows from and expands Golang's notion of rune such that rather than representing one 32 bits integer, each `utf8_rune::Rune` represents a set of bytes that, when displayed together represent a single visible UTF-8 character.
Lightweight crate that provides Utf8Stream that "streams" over utf8 chunks and derefs to string slices
UTF-8 paths
Core Metrics
| utf8-rune | utf8-stream | camino | |
|---|---|---|---|
| Health Score | 46 | 37 | 73 |
| Total Downloads | 1.2K | 486 | 155.5M |
| 30d Downloads | 5 | 3 | 12.8M |
| Dependents | 0 | 0 | 7.8K |
| Releases | 3 | 1 | 25 |
| Last Updated | 260d ago | 275d ago | 103d ago |
| Age | 8m | 9m | 5y 1m |
Health Breakdown
Technical Details
| utf8-rune | utf8-stream | camino | |
|---|---|---|---|
| Version | 0.0.2 | 0.0.0 | 1.2.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 1 | 0 | 5 |
| Crate Size | 20KB | 4KB | 41KB |
| Features | 2 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 4.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | — | 1.61.0 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •camino leads with a health score of 73/100, but none of the options score above 80.
- •camino is depended on by 7.8K crates — strongest ecosystem trust.
- •utf8-rune, utf8-stream are pre-1.0 — API may change.