Decision Workspace
once_mut vs lock-free-static vs lazymut
Side-by-side comparison of Rust crates
42
once_mut
growingv0.1.1
Safe mutable reference to static variable that can be obtained only once
51
lock-free-static
growingv0.2.3
Lock-free static variables
45
lazymut
growingv0.2.1
Similar to LazyCell, but use &mut self to get or initialization
Core Metrics
| once_mut | lock-free-static | lazymut | |
|---|---|---|---|
| Health Score | 42 | 51 | 45 |
| Total Downloads | 5.5K | 9.1K | 1.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 13 | 6 | 0 |
| Releases | 2 | 7 | 5 |
| Last Updated | 1105d ago | 252d ago | 237d ago |
| Age | 3y 4m | 3y | 1y 2m |
Health Breakdown
once_mut
Maintenance
4
Quality
10
Community
11
Popularity
4
Documentation
13
lock-free-static
Maintenance
7
Quality
16
Community
10
Popularity
5
Documentation
13
lazymut
Maintenance
9
Quality
16
Community
6
Popularity
4
Documentation
10
Technical Details
| once_mut | lock-free-static | lazymut | |
|---|---|---|---|
| Version | 0.1.1 | 0.2.3 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | MIT/Apache-2.0 | MIT |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 7KB | 12KB | 3KB |
| Features | 0 | 0 | 0 |
| Yanked % | 50.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | — | — |
| Owners | 2 | 2 | 1 |
Links
Quick Verdict
- •lock-free-static leads with a health score of 51/100, but none of the options score above 80.
- •⚠ once_mut has not been updated in over a year.