Decision Workspace
type_cell vs lazy-regex vs lazy_static
Side-by-side comparison of Rust crates
44
type_cell
growingv0.3.4
Attach values statically to a type using static get/set methods.
67
lazy-regex
growingv3.6.0
lazy static regular expressions checked at compile time
66
lazy_static
growingv1.5.0
A macro for declaring lazily evaluated statics in Rust.
Core Metrics
| type_cell | lazy-regex | lazy_static | |
|---|---|---|---|
| Health Score | 44 | 67 | 66 |
| Total Downloads | 14.5K | 35.9M | 843.6M |
| 30d Downloads | 0 | 1.3M | 33.0M |
| Dependents | 15 | 4.7K | 177.4K |
| Releases | 9 | 32 | 38 |
| Last Updated | 928d ago | 152d ago | 752d ago |
| Age | 2y 10m | 6y 9m | 11y 7m |
Health Breakdown
type_cell
Maintenance
6
Quality
11
Community
9
Popularity
5
Documentation
13
lazy-regex
Maintenance
11
Quality
22
Community
14
Popularity
8
Documentation
12
lazy_static
Maintenance
6
Quality
21
Community
20
Popularity
8
Documentation
11
Technical Details
| type_cell | lazy-regex | lazy_static | |
|---|---|---|---|
| Version | 0.3.4 | 3.6.0 | 1.5.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 4 | 3 |
| Crate Size | 13KB | 11KB | 14KB |
| Features | 0 | 16 | 1 |
| Yanked % | 11.1% | 3.1% | 0.0% |
| Edition | 2021 | 2021 | — |
| MSRV | — | 1.71 | — |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •lazy-regex leads with a health score of 67/100, but none of the options score above 80.
- •lazy_static has the most downloads (843.6M), suggesting wider adoption.
- •lazy_static is depended on by 177.4K crates — strongest ecosystem trust.
- •⚠ type_cell, lazy_static have not been updated in over a year.
- •type_cell is pre-1.0 — API may change.