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.
71
bstr
stablev1.12.1
A string type that is not required to be valid UTF-8.
Core Metrics
| str_windows | string_iter | bstr | |
|---|---|---|---|
| Health Score | 34 | 40 | 71 |
| Total Downloads | 1.9K | 1.9K | 269.3M |
| 30d Downloads | 3 | 22 | 17.1M |
| Dependents | 0 | 3 | 6.8K |
| Releases | 1 | 1 | 49 |
| Last Updated | 2855d ago | 935d ago | 152d ago |
| Age | 7y 10m | 2y 6m | 7y 5m |
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
13
Quality
20
Community
15
Popularity
8
Documentation
15
Technical Details
| str_windows | string_iter | bstr | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 1.12.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 | 355KB |
| Features | 0 | 2 | 5 |
| Yanked % | 0.0% | 0.0% | 2.0% |
| Edition | — | 2021 | 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.
- •⚠ str_windows, string_iter have not been updated in over a year.
- •str_windows, string_iter are pre-1.0 — API may change.