Decision Workspace
lock-free-static vs once_mut vs async-oncecell
Side-by-side comparison of Rust crates
56
lock-free-static
growingv0.2.3
Lock-free static variables
42
once_mut
growingv0.1.1
Safe mutable reference to static variable that can be obtained only once
37
async-oncecell
growingv0.2.0
Asynchronous versions of OnceCell and Lazy
Core Metrics
| lock-free-static | once_mut | async-oncecell | |
|---|---|---|---|
| Health Score | 56 | 42 | 37 |
| Total Downloads | 8.4K | 5.2K | 105.7K |
| 30d Downloads | 60 | 8 | 9.2K |
| Dependents | 2 | 13 | 1 |
| Releases | 7 | 2 | 2 |
| Last Updated | 56d ago | 908d ago | 1806d ago |
| Age | 2y 5m | 2y 9m | 4y 11m |
Health Breakdown
lock-free-static
Maintenance
13
Quality
16
Community
9
Popularity
5
Documentation
13
once_mut
Maintenance
4
Quality
10
Community
11
Popularity
4
Documentation
13
async-oncecell
Maintenance
3
Quality
15
Community
4
Popularity
6
Documentation
9
Technical Details
| lock-free-static | once_mut | async-oncecell | |
|---|---|---|---|
| Version | 0.2.3 | 0.1.1 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 3 |
| Crate Size | 12KB | 7KB | 4KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 50.0% | 0.0% |
| Edition | 2024 | 2021 | 2018 |
| 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.
- •async-oncecell has the most downloads (105.7K), suggesting wider adoption.
- •⚠ once_mut, async-oncecell have not been updated in over a year.