Decision Workspace
lazy-transform-str vs lazy-regex vs bstr
Side-by-side comparison of Rust crates
46
lazy-transform-str
growingv0.0.6
Lazy-copying lazy-allocated scanning `str` transformations. This is good e.g. for (un)escaping text, especially if individual strings are short.
74
lazy-regex
stablev3.6.2
lazy static regular expressions checked at compile time
73
bstr
stablev1.13.1
A string type that is not required to be valid UTF-8.
Core Metrics
| lazy-transform-str | lazy-regex | bstr | |
|---|---|---|---|
| Health Score | 46 | 74 | 73 |
| Total Downloads | 32.4K | 44.5M | 449.5M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 11 | 5.0K | 9.6K |
| Releases | 6 | 34 | 53 |
| Last Updated | 2209d ago | 7d ago | 60d ago |
| Age | 6y 1m | 7y | 8y |
Health Breakdown
lazy-transform-str
Maintenance
6
Quality
14
Community
9
Popularity
5
Documentation
12
lazy-regex
Maintenance
18
Quality
22
Community
14
Popularity
8
Documentation
12
bstr
Maintenance
15
Quality
20
Community
15
Popularity
8
Documentation
15
Technical Details
| lazy-transform-str | lazy-regex | bstr | |
|---|---|---|---|
| Version | 0.0.6 | 3.6.2 | 1.13.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 7 | 4 | 6 |
| Crate Size | 10KB | 12KB | 357KB |
| Features | 0 | 16 | 5 |
| Yanked % | 0.0% | 2.9% | 1.9% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.71 | 1.65 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •lazy-regex leads with a health score of 74/100, but none of the options score above 80.
- •bstr has the most downloads (449.5M), suggesting wider adoption.
- •bstr is depended on by 9.6K crates — strongest ecosystem trust.
- •⚠ lazy-transform-str has not been updated in over a year.
- •lazy-transform-str is pre-1.0 — API may change.