Decision Workspace
str_windows vs string_iter vs bstr
Side-by-side comparison of Rust crates
34
str_windows
growingv0.1.0
Provides an iterator over windows of chars (as `&str`s) of a `&str`.
40
string_iter
growingv0.1.0
An overly designed &str iterator made with zero-copy parsing in mind.
73
bstr
stablev1.13.1
A string type that is not required to be valid UTF-8.
Core Metrics
| str_windows | string_iter | bstr | |
|---|---|---|---|
| Health Score | 34 | 40 | 73 |
| Total Downloads | 1.9K | 2.1K | 449.5M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 3 | 9.6K |
| Releases | 1 | 1 | 53 |
| Last Updated | 3051d ago | 1131d ago | 60d ago |
| Age | 8y 4m | 3y 1m | 8y |
Health Breakdown
str_windows
Maintenance
1
Quality
16
Community
5
Popularity
4
Documentation
8
string_iter
Maintenance
1
Quality
17
Community
5
Popularity
4
Documentation
13
bstr
Maintenance
15
Quality
20
Community
15
Popularity
8
Documentation
15
Technical Details
| str_windows | string_iter | bstr | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 1.13.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 3 | 6 |
| Crate Size | 6KB | 16KB | 357KB |
| Features | 0 | 2 | 5 |
| Yanked % | 0.0% | 0.0% | 1.9% |
| Edition | — | 2021 | 2021 |
| MSRV | — | — | 1.65 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bstr leads with a health score of 73/100, but none of the options score above 80.
- •bstr is depended on by 9.6K crates — strongest ecosystem trust.
- •⚠ str_windows, string_iter have not been updated in over a year.
- •str_windows, string_iter are pre-1.0 — API may change.