Decision Workspace
capture vs closure vs captur
Side-by-side comparison of Rust crates
35
capture
growingv0.1.0
A macro for adding explicit capture clauses to a (closure-) expression.
43
closure
growingv0.3.0
A macro for capturing variables on a per variable basis.
52
captur
growingv1.0.1
Macro to capture whole structs from disjoint fields in a closure.
Core Metrics
| capture | closure | captur | |
|---|---|---|---|
| Health Score | 35 | 43 | 52 |
| Total Downloads | 3.6K | 566.2K | 19.6K |
| 30d Downloads | 6 | 22.7K | 228 |
| Dependents | 0 | 71 | 10 |
| Releases | 1 | 5 | 3 |
| Last Updated | 3759d ago | 2188d ago | 614d ago |
| Age | 11y 4m | 7y 8m | 4y 9m |
Health Breakdown
capture
Maintenance
1
Quality
16
Community
3
Popularity
4
Documentation
11
closure
Maintenance
3
Quality
16
Community
8
Popularity
7
Documentation
9
captur
Maintenance
4
Quality
20
Community
8
Popularity
5
Documentation
15
Technical Details
| capture | closure | captur | |
|---|---|---|---|
| Version | 0.1.0 | 0.3.0 | 1.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | ISC |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 3KB | 5KB | 4KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2018 | 2021 |
| MSRV | — | — | 1.56.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •captur leads with a health score of 52/100, but none of the options score above 80.
- •closure has the most downloads (566.2K), suggesting wider adoption.
- •⚠ capture, closure, captur have not been updated in over a year.
- •capture, closure are pre-1.0 — API may change.