Decision Workspace
macro_rules_attr vs optfield-lite vs macro_rules_attribute
Side-by-side comparison of Rust crates
58
macro_rules_attr
growingv0.2.0
Use declarative macros as proc_macro attributes. (`#[apply]` / `#[extend]` your `macro_rules!`)
36
optfield-lite
growingv0.1.0
A macro to generate a new struct with fields wrapped in Option.
51
macro_rules_attribute
growingv0.2.2
Use declarative macros in attribute or derive position
Core Metrics
| macro_rules_attr | optfield-lite | macro_rules_attribute | |
|---|---|---|---|
| Health Score | 58 | 36 | 51 |
| Total Downloads | 19.5K | 725 | 36.2M |
| 30d Downloads | 526 | 0 | 2.7M |
| Dependents | 49 | 0 | 1.9K |
| Releases | 5 | 1 | 19 |
| Last Updated | 24d ago | 468d ago | 406d ago |
| Age | 1y 3m | 1y 3m | 6y 10m |
Health Breakdown
macro_rules_attr
Maintenance
16
Quality
16
Community
11
Popularity
5
Documentation
10
optfield-lite
Maintenance
2
Quality
15
Community
6
Popularity
3
Documentation
10
macro_rules_attribute
Maintenance
5
Quality
12
Community
14
Popularity
8
Documentation
12
Technical Details
| macro_rules_attr | optfield-lite | macro_rules_attribute | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.0 | 0.2.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | Apache-2.0 OR MIT OR Zlib |
| Dependencies | 3 | 1 | 5 |
| Crate Size | 4KB | 2KB | 15KB |
| Features | 1 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 10.5% |
| Edition | 2024 | 2024 | 2018 |
| 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.
- •macro_rules_attribute has the most downloads (36.2M), suggesting wider adoption.
- •macro_rules_attribute is depended on by 1.9K crates — strongest ecosystem trust.
- •⚠ optfield-lite, macro_rules_attribute have not been updated in over a year.