Decision Workspace
cfg-or-panic vs proc-macro-crate vs toolkit-zero-macros
Side-by-side comparison of Rust crates
37
cfg-or-panic
growingv0.2.1
Replace function bodies with `unimplemented!()` when condition is not met.
70
proc-macro-crate
stablev3.5.0
Replacement for crate (macro_rules keyword) in proc-macros
61
toolkit-zero-macros
experimentalv1.3.0
Procedural macros for toolkit-zero
Core Metrics
| cfg-or-panic | proc-macro-crate | toolkit-zero-macros | |
|---|---|---|---|
| Health Score | 37 | 70 | 61 |
| Total Downloads | 292.9K | 329.6M | 111 |
| 30d Downloads | 11.2K | 24.1M | 111 |
| Dependents | 0 | 5.4K | 19 |
| Releases | 4 | 24 | 7 |
| Last Updated | 675d ago | 23d ago | 4d ago |
| Age | 2y 7m | 7y 1m | 12d |
Health Breakdown
cfg-or-panic
Maintenance
4
Quality
10
Community
6
Popularity
7
Documentation
10
proc-macro-crate
Maintenance
18
Quality
15
Community
14
Popularity
8
Documentation
15
toolkit-zero-macros
Maintenance
14
Quality
20
Community
10
Popularity
2
Documentation
15
Technical Details
| cfg-or-panic | proc-macro-crate | toolkit-zero-macros | |
|---|---|---|---|
| Version | 0.2.1 | 3.5.0 | 1.3.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 3 | 4 | 3 |
| Crate Size | 8KB | 13KB | 22KB |
| Features | 0 | 0 | 10 |
| Yanked % | 25.0% | 12.5% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.82.0 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •proc-macro-crate leads with a health score of 70/100, but none of the options score above 80.
- •proc-macro-crate is depended on by 5.4K crates — strongest ecosystem trust.
- •⚠ cfg-or-panic has not been updated in over a year.
- •cfg-or-panic is pre-1.0 — API may change.