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.
76
bstr
stablev1.12.3
A string type that is not required to be valid UTF-8.
Core Metrics
| str_windows | string_iter | bstr | |
|---|---|---|---|
| Health Score | 34 | 40 | 76 |
| Total Downloads | 1.9K | 2.0K | 347.7M |
| 30d Downloads | 0 | 0 | 14.9M |
| Dependents | 0 | 3 | 7.8K |
| Releases | 1 | 1 | 51 |
| Last Updated | 2963d ago | 1043d ago | 18d ago |
| Age | 8y 1m | 2y 10m | 7y 9m |
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
18
Quality
20
Community
15
Popularity
8
Documentation
15
Technical Details
| str_windows | string_iter | bstr | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 1.12.3 |
| 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.65 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bstr leads with a health score of 76/100, but none of the options score above 80.
- •bstr is depended on by 7.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.