Decision Workspace
lazy-transform-str vs once_cell vs bstr
Side-by-side comparison of Rust crates
47
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.
75
once_cell
stablev1.21.4
Single assignment cells and lazy values.
71
bstr
stablev1.12.1
A string type that is not required to be valid UTF-8.
Core Metrics
| lazy-transform-str | once_cell | bstr | |
|---|---|---|---|
| Health Score | 47 | 75 | 71 |
| Total Downloads | 30.9K | 782.7M | 269.3M |
| 30d Downloads | 345 | 52.5M | 17.1M |
| Dependents | 11 | 162.5K | 6.8K |
| Releases | 6 | 67 | 49 |
| Last Updated | 2012d ago | 15d ago | 152d ago |
| Age | 5y 7m | 7y 8m | 7y 5m |
Health Breakdown
lazy-transform-str
Maintenance
7
Quality
14
Community
9
Popularity
5
Documentation
12
once_cell
Maintenance
18
Quality
18
Community
16
Popularity
8
Documentation
15
bstr
Maintenance
13
Quality
20
Community
15
Popularity
8
Documentation
15
Technical Details
| lazy-transform-str | once_cell | bstr | |
|---|---|---|---|
| Version | 0.0.6 | 1.21.4 | 1.12.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 7 | 5 | 6 |
| Crate Size | 10KB | 35KB | 355KB |
| Features | 0 | 9 | 5 |
| Yanked % | 0.0% | 11.9% | 2.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.65 | 1.73 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •once_cell leads with a health score of 75/100, but none of the options score above 80.
- •once_cell is depended on by 162.5K 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.