Decision Workspace
func_wrap vs macro_rules_attr vs yuuka-macros
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.
55
macro_rules_attr
growingv0.2.0
Use declarative macros as proc_macro attributes. (`#[apply]` / `#[extend]` your `macro_rules!`)
50
yuuka-macros
growingv0.10.0
Procedural macros for the yuuka nested-structure crate
Core Metrics
| func_wrap | macro_rules_attr | yuuka-macros | |
|---|---|---|---|
| Health Score | 46 | 55 | 50 |
| Total Downloads | 2.4M | 27.4K | 12.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 13 | 170 | 15 |
| Releases | 5 | 5 | 16 |
| Last Updated | 2147d ago | 113d ago | 46d ago |
| Age | 5y 11m | 1y 6m | 2y |
Health Breakdown
func_wrap
Maintenance
3
Quality
15
Community
8
Popularity
8
Documentation
12
macro_rules_attr
Maintenance
12
Quality
16
Community
12
Popularity
5
Documentation
10
yuuka-macros
Maintenance
16
Quality
11
Community
8
Popularity
5
Documentation
10
Technical Details
| func_wrap | macro_rules_attr | yuuka-macros | |
|---|---|---|---|
| Version | 0.1.3 | 0.2.0 | 0.10.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Zlib OR MIT OR Apache-2.0 | MIT | non-standard |
| Dependencies | 3 | 3 | 4 |
| Crate Size | 11KB | 4KB | 18KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 6.3% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | — | 1.75 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •macro_rules_attr leads with a health score of 55/100, but none of the options score above 80.
- •func_wrap has the most downloads (2.4M), suggesting wider adoption.
- •macro_rules_attr is depended on by 170 crates — strongest ecosystem trust.
- •⚠ func_wrap has not been updated in over a year.