Decision Workspace
lock-free-static vs once_mut vs async-oncecell
Side-by-side comparison of Rust crates
51
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 | 51 | 42 | 37 |
| Total Downloads | 9.1K | 5.5K | 164.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 6 | 13 | 1 |
| Releases | 7 | 2 | 2 |
| Last Updated | 252d ago | 1105d ago | 2002d ago |
| Age | 3y | 3y 4m | 5y 6m |
Health Breakdown
lock-free-static
Maintenance
7
Quality
16
Community
10
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 51/100, but none of the options score above 80.
- •async-oncecell has the most downloads (164.9K), suggesting wider adoption.
- •⚠ once_mut, async-oncecell have not been updated in over a year.