Decision Workspace
macro_rules_attribute vs macro_rules_attr vs optfield-lite
Side-by-side comparison of Rust crates
58
macro_rules_attribute
growingv0.2.3
Use declarative macros in attribute or derive position
55
macro_rules_attr
growingv0.2.0
Use declarative macros as proc_macro attributes. (`#[apply]` / `#[extend]` your `macro_rules!`)
35
optfield-lite
growingv0.1.0
A macro to generate a new struct with fields wrapped in Option.
Core Metrics
| macro_rules_attribute | macro_rules_attr | optfield-lite | |
|---|---|---|---|
| Health Score | 58 | 55 | 35 |
| Total Downloads | 56.3M | 27.4K | 729 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 2.2K | 170 | 0 |
| Releases | 20 | 5 | 1 |
| Last Updated | 72d ago | 113d ago | 556d ago |
| Age | 7y 1m | 1y 6m | 1y 6m |
Health Breakdown
macro_rules_attribute
Maintenance
12
Quality
12
Community
14
Popularity
8
Documentation
12
macro_rules_attr
Maintenance
12
Quality
16
Community
12
Popularity
5
Documentation
10
optfield-lite
Maintenance
1
Quality
15
Community
6
Popularity
3
Documentation
10
Technical Details
| macro_rules_attribute | macro_rules_attr | optfield-lite | |
|---|---|---|---|
| Version | 0.2.3 | 0.2.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 OR MIT OR Zlib | MIT | MIT |
| Dependencies | 5 | 3 | 1 |
| Crate Size | 15KB | 4KB | 2KB |
| Features | 3 | 1 | 0 |
| Yanked % | 10.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •macro_rules_attribute leads with a health score of 58/100, but none of the options score above 80.
- •macro_rules_attribute is depended on by 2.2K crates — strongest ecosystem trust.
- •⚠ optfield-lite has not been updated in over a year.