Decision Workspace
strcursor vs utf8_slice vs bstr
Side-by-side comparison of Rust crates
41
strcursor
growingv0.2.5
Provides a string cursor type for seeking through a string whilst respecting grapheme cluster and code point boundaries.
47
utf8_slice
growingv1.0.0
Lightweight UTF8 Slice Utilities
71
bstr
stablev1.12.1
A string type that is not required to be valid UTF-8.
Core Metrics
| strcursor | utf8_slice | bstr | |
|---|---|---|---|
| Health Score | 41 | 47 | 71 |
| Total Downloads | 105.9K | 29.8K | 269.3M |
| 30d Downloads | 1.7K | 948 | 17.1M |
| Dependents | 10 | 57 | 6.8K |
| Releases | 7 | 1 | 49 |
| Last Updated | 3294d ago | 1952d ago | 152d ago |
| Age | 10y 9m | 5y 4m | 7y 5m |
Health Breakdown
strcursor
Maintenance
3
Quality
15
Community
6
Popularity
6
Documentation
11
utf8_slice
Maintenance
1
Quality
21
Community
11
Popularity
5
Documentation
9
bstr
Maintenance
13
Quality
20
Community
15
Popularity
8
Documentation
15
Technical Details
| strcursor | utf8_slice | bstr | |
|---|---|---|---|
| Version | 0.2.5 | 1.0.0 | 1.12.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT/Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 0 | 6 |
| Crate Size | 17KB | 2KB | 355KB |
| Features | 0 | 0 | 5 |
| Yanked % | 0.0% | 0.0% | 2.0% |
| Edition | — | 2018 | 2021 |
| MSRV | — | — | 1.73 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bstr leads with a health score of 71/100, but none of the options score above 80.
- •bstr is depended on by 6.8K crates — strongest ecosystem trust.
- •⚠ strcursor, utf8_slice have not been updated in over a year.
- •strcursor is pre-1.0 — API may change.