Decision Workspace
deref-once-lock vs once_map vs maybe-once
Side-by-side comparison of Rust crates
43
deref-once-lock
experimentalv0.1.0
A std::sync::OnceLock wrapper that dereferences to its initialized value.
61
once_map
growingv0.4.24
Single assignment and lazy maps
61
maybe-once
growingv0.18.0
A singleton. Maybe.
Core Metrics
| deref-once-lock | once_map | maybe-once | |
|---|---|---|---|
| Health Score | 43 | 61 | 61 |
| Total Downloads | 29 | 1.1M | 7.7K |
| 30d Downloads | 0 | 49.3K | 0 |
| Dependents | 0 | 155 | 45 |
| Releases | 1 | 30 | 7 |
| Last Updated | 91d ago | 89d ago | 11d ago |
| Age | 3m | 4y | 1y 3m |
Health Breakdown
deref-once-lock
Maintenance
8
Quality
15
Community
6
Popularity
2
Documentation
12
once_map
Maintenance
14
Quality
13
Community
12
Popularity
7
Documentation
15
maybe-once
Maintenance
17
Quality
16
Community
11
Popularity
5
Documentation
12
Technical Details
| deref-once-lock | once_map | maybe-once | |
|---|---|---|---|
| Version | 0.1.0 | 0.4.24 | 0.18.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 7 | 5 |
| Crate Size | 7KB | 16KB | 11KB |
| Features | 0 | 5 | 2 |
| Yanked % | 0.0% | 10.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.85 | 1.65 | 1.85.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •once_map leads with a health score of 61/100, but none of the options score above 80.
- •once_map is depended on by 155 crates — strongest ecosystem trust.