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
56
lock-free-static
growingv0.2.3
Lock-free static variables
50
lazymut
experimentalv0.2.1
Similar to LazyCell, but use &mut self to get or initialization
Core Metrics
| once_mut | lock-free-static | lazymut | |
|---|---|---|---|
| Health Score | 42 | 56 | 50 |
| Total Downloads | 5.2K | 8.4K | 1.1K |
| 30d Downloads | 8 | 60 | 7 |
| Dependents | 13 | 2 | 0 |
| Releases | 2 | 7 | 5 |
| Last Updated | 908d ago | 56d ago | 41d ago |
| Age | 2y 9m | 2y 5m | 7m |
Health Breakdown
once_mut
Maintenance
4
Quality
10
Community
11
Popularity
4
Documentation
13
lock-free-static
Maintenance
13
Quality
16
Community
9
Popularity
5
Documentation
13
lazymut
Maintenance
15
Quality
15
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 56/100, but none of the options score above 80.
- •⚠ once_mut has not been updated in over a year.