Decision Workspace
fallthrough vs easy_switch vs philiprehberger-guard-clause
Side-by-side comparison of Rust crates
40
fallthrough
growingv0.1.3
Pattern match with fallthrough, in the style of C switch
49
easy_switch
growingv0.2.0
A macro for traditional C-style switch statements
52
philiprehberger-guard-clause
experimentalv0.1.8
Early-return guard clause macros for cleaner control flow
Core Metrics
| fallthrough | easy_switch | philiprehberger-guard-clause | |
|---|---|---|---|
| Health Score | 40 | 49 | 52 |
| Total Downloads | 4.8K | 5.8K | 99 |
| 30d Downloads | 7 | 70 | 99 |
| Dependents | 0 | 45 | 0 |
| Releases | 4 | 2 | 8 |
| Last Updated | 397d ago | 1096d ago | today |
| Age | 2y 8m | 3y | 12d |
Health Breakdown
fallthrough
Maintenance
5
Quality
16
Community
5
Popularity
4
Documentation
10
easy_switch
Maintenance
4
Quality
15
Community
11
Popularity
4
Documentation
15
philiprehberger-guard-clause
Maintenance
14
Quality
15
Community
6
Popularity
2
Documentation
15
Technical Details
| fallthrough | easy_switch | philiprehberger-guard-clause | |
|---|---|---|---|
| Version | 0.1.3 | 0.2.0 | 0.1.8 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 0 | 1 | 0 |
| Crate Size | 7KB | 4KB | 6KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | 1.56.1 | 1.70 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •philiprehberger-guard-clause leads with a health score of 52/100, but none of the options score above 80.
- •easy_switch has the most downloads (5.8K), suggesting wider adoption.
- •⚠ fallthrough, easy_switch have not been updated in over a year.