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.
54
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 | 54 |
| Total Downloads | 3.9K | 4.7K | 9.4M |
| 30d Downloads | 5 | 18 | 502.3K |
| Dependents | 0 | 0 | 229 |
| Releases | 2 | 2 | 3 |
| Last Updated | 3159d ago | 3221d ago | 1154d ago |
| Age | 8y 9m | 8y 10m | 6y 5m |
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
12
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 54/100, but none of the options score above 80.
- •atomic-take is depended on by 229 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.