Decision Workspace
closure vs capture vs captur
Side-by-side comparison of Rust crates
43
closure
growingv0.3.0
A macro for capturing variables on a per variable basis.
35
capture
growingv0.1.0
A macro for adding explicit capture clauses to a (closure-) expression.
52
captur
growingv1.0.1
Macro to capture whole structs from disjoint fields in a closure.
Core Metrics
| closure | capture | captur | |
|---|---|---|---|
| Health Score | 43 | 35 | 52 |
| Total Downloads | 566.2K | 3.6K | 19.6K |
| 30d Downloads | 22.7K | 6 | 228 |
| Dependents | 71 | 0 | 10 |
| Releases | 5 | 1 | 3 |
| Last Updated | 2188d ago | 3759d ago | 614d ago |
| Age | 7y 8m | 11y 4m | 4y 9m |
Health Breakdown
closure
Maintenance
3
Quality
16
Community
8
Popularity
7
Documentation
9
capture
Maintenance
1
Quality
16
Community
3
Popularity
4
Documentation
11
captur
Maintenance
4
Quality
20
Community
8
Popularity
5
Documentation
15
Technical Details
| closure | capture | captur | |
|---|---|---|---|
| Version | 0.3.0 | 0.1.0 | 1.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | ISC |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 5KB | 3KB | 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.
- •⚠ closure, capture, captur have not been updated in over a year.
- •closure, capture are pre-1.0 — API may change.