Decision Workspace
func_wrap vs macro_rules_attr vs wrapped-list
Side-by-side comparison of Rust crates
46
func_wrap
growingv0.1.3
Helper crate for procedural macro authors that wish to duplicate some received function inside its body, so as to be able to wrap with some prologue, epilogue, cache-ing, etc.
58
macro_rules_attr
growingv0.2.0
Use declarative macros as proc_macro attributes. (`#[apply]` / `#[extend]` your `macro_rules!`)
41
wrapped-list
growingv1.0.1
Macro for wrapping elements of a list with an object, function, or another macro at compile time
Core Metrics
| func_wrap | macro_rules_attr | wrapped-list | |
|---|---|---|---|
| Health Score | 46 | 58 | 41 |
| Total Downloads | 2.1M | 19.5K | 2.7K |
| 30d Downloads | 21.4K | 507 | 0 |
| Dependents | 13 | 49 | 0 |
| Releases | 5 | 5 | 2 |
| Last Updated | 2059d ago | 24d ago | 1213d ago |
| Age | 5y 8m | 1y 3m | 3y 3m |
Health Breakdown
func_wrap
Maintenance
3
Quality
15
Community
8
Popularity
8
Documentation
12
macro_rules_attr
Maintenance
16
Quality
16
Community
11
Popularity
5
Documentation
10
wrapped-list
Maintenance
4
Quality
20
Community
3
Popularity
4
Documentation
10
Technical Details
| func_wrap | macro_rules_attr | wrapped-list | |
|---|---|---|---|
| Version | 0.1.3 | 0.2.0 | 1.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Zlib OR MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 3 | 1 |
| Crate Size | 11KB | 4KB | 4KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •macro_rules_attr leads with a health score of 58/100, but none of the options score above 80.
- •func_wrap has the most downloads (2.1M), suggesting wider adoption.
- •⚠ func_wrap, wrapped-list have not been updated in over a year.
- •func_wrap, macro_rules_attr are pre-1.0 — API may change.