Decision Workspace
empty-option vs empty-box vs atomic-take
Side-by-side comparison of Rust crates
39
empty-option
growingv0.1.1
Convenient wrappers for taking/replacing values from mutable references to `Option`s and enforcing invariants.
40
empty-box
growingv0.1.1
Allows for `Box`s to have their values moved out and replaced with new values, while reusing the same allocation.
55
atomic-take
growingv1.1.0
Atomically take a value out of a container once.
Core Metrics
| empty-option | empty-box | atomic-take | |
|---|---|---|---|
| Health Score | 39 | 40 | 55 |
| Total Downloads | 3.9K | 4.8K | 13.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 287 |
| Releases | 2 | 2 | 3 |
| Last Updated | 3355d ago | 3417d ago | 1350d ago |
| Age | 9y 3m | 9y 4m | 6y 11m |
Health Breakdown
empty-option
Maintenance
3
Quality
16
Community
5
Popularity
4
Documentation
11
empty-box
Maintenance
3
Quality
16
Community
6
Popularity
4
Documentation
11
atomic-take
Maintenance
3
Quality
20
Community
13
Popularity
8
Documentation
11
Technical Details
| empty-option | empty-box | atomic-take | |
|---|---|---|---|
| Version | 0.1.1 | 0.1.1 | 1.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT/Apache-2.0 | MIT/Apache-2.0 | MIT |
| Dependencies | 0 | 0 | 1 |
| Crate Size | 8KB | 7KB | 6KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | — | 2018 |
| MSRV | — | — | 1.48.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •atomic-take leads with a health score of 55/100, but none of the options score above 80.
- •atomic-take is depended on by 287 crates — strongest ecosystem trust.
- •⚠ empty-option, empty-box, atomic-take have not been updated in over a year.
- •empty-option, empty-box are pre-1.0 — API may change.