Decision Workspace
orx-closure vs fn-ptr vs closure
Side-by-side comparison of Rust crates
47
orx-closure
growingv0.2.0
An explicit closure with absolute separation of the captured data from the function.
56
fn-ptr
growingv0.9.1
A utility crate for introspecting and rewriting function pointer types at compile time.
43
closure
growingv0.3.0
A macro for capturing variables on a per variable basis.
Core Metrics
| orx-closure | fn-ptr | closure | |
|---|---|---|---|
| Health Score | 47 | 56 | 43 |
| Total Downloads | 8.2K | 3.9K | 566.2K |
| 30d Downloads | 30 | 452 | 22.7K |
| Dependents | 7 | 3 | 71 |
| Releases | 7 | 12 | 5 |
| Last Updated | 241d ago | 74d ago | 2188d ago |
| Age | 2y 3m | 2y 9m | 7y 8m |
Health Breakdown
orx-closure
Maintenance
9
Quality
15
Community
8
Popularity
5
Documentation
10
fn-ptr
Maintenance
14
Quality
17
Community
8
Popularity
4
Documentation
13
closure
Maintenance
3
Quality
16
Community
8
Popularity
7
Documentation
9
Technical Details
| orx-closure | fn-ptr | closure | |
|---|---|---|---|
| Version | 0.2.0 | 0.9.1 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 1 | 7 | 0 |
| Crate Size | 37KB | 19KB | 5KB |
| Features | 0 | 5 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •fn-ptr leads with a health score of 56/100, but none of the options score above 80.
- •closure has the most downloads (566.2K), suggesting wider adoption.
- •⚠ closure has not been updated in over a year.