Decision Workspace
macro_rules_attr vs optfield-lite vs macro_rules_attribute
Side-by-side comparison of Rust crates
53
macro_rules_attr
growingv0.1.3
Use declarative macros as proc_macro attributes. (`#[apply]` your `macro_rules!`)
36
optfield-lite
experimentalv0.1.0
A macro to generate a new struct with fields wrapped in Option.
52
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 | 53 | 36 | 52 |
| Total Downloads | 13.2K | 716 | 22.6M |
| 30d Downloads | 1.0K | 3 | 3.1M |
| Dependents | 14 | 0 | 1.6K |
| Releases | 4 | 1 | 19 |
| Last Updated | 363d ago | 360d ago | 298d ago |
| Age | 1y | 12m | 6y 6m |
Health Breakdown
macro_rules_attr
Maintenance
13
Quality
16
Community
9
Popularity
5
Documentation
10
optfield-lite
Maintenance
3
Quality
14
Community
6
Popularity
3
Documentation
10
macro_rules_attribute
Maintenance
6
Quality
12
Community
14
Popularity
8
Documentation
12
Technical Details
| macro_rules_attr | optfield-lite | macro_rules_attribute | |
|---|---|---|---|
| Version | 0.1.3 | 0.1.0 | 0.2.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | Apache-2.0 OR MIT OR Zlib |
| Dependencies | 2 | 1 | 5 |
| Crate Size | 3KB | 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 53/100, but none of the options score above 80.
- •macro_rules_attribute has the most downloads (22.6M), suggesting wider adoption.
- •macro_rules_attribute is depended on by 1.6K crates — strongest ecosystem trust.