Decision Workspace
empty-box vs empty-option vs recycle-box
Side-by-side comparison of Rust crates
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.
39
empty-option
growingv0.1.1
Convenient wrappers for taking/replacing values from mutable references to `Option`s and enforcing invariants.
47
recycle-box
growingv0.2.0
A pointer type for heap-allocated objects which heap storage can be re-used, with Pin support.
Core Metrics
| empty-box | empty-option | recycle-box | |
|---|---|---|---|
| Health Score | 40 | 39 | 47 |
| Total Downloads | 4.7K | 3.9K | 66.8K |
| 30d Downloads | 18 | 5 | 2.5K |
| Dependents | 0 | 0 | 67 |
| Releases | 2 | 2 | 2 |
| Last Updated | 3221d ago | 3159d ago | 1253d ago |
| Age | 8y 10m | 8y 9m | 4y 1m |
Health Breakdown
empty-box
Maintenance
3
Quality
16
Community
6
Popularity
4
Documentation
11
empty-option
Maintenance
3
Quality
16
Community
5
Popularity
4
Documentation
11
recycle-box
Maintenance
3
Quality
16
Community
10
Popularity
6
Documentation
12
Technical Details
| empty-box | empty-option | recycle-box | |
|---|---|---|---|
| Version | 0.1.1 | 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 | 0 |
| Crate Size | 7KB | 8KB | 12KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | — | 2021 |
| MSRV | — | — | 1.56 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •recycle-box leads with a health score of 47/100, but none of the options score above 80.
- •⚠ empty-box, empty-option, recycle-box have not been updated in over a year.