Decision Workspace
kiam vs guard vs either
Side-by-side comparison of Rust crates
40
kiam
growingv0.1.1
Better syntax for if/else chains (when!)
43
guard
growingv0.5.2
Macro implementation of RFC 1303: a guard-let-else statement a la Swift
80
either
stablev1.16.0
The enum `Either` with variants `Left` and `Right` is a general purpose sum type with two cases.
Core Metrics
| kiam | guard | either | |
|---|---|---|---|
| Health Score | 40 | 43 | 80 |
| Total Downloads | 9.5K | 654.3K | 773.0M |
| 30d Downloads | 0 | 0 | 59.5M |
| Dependents | 0 | 46 | 24.3K |
| Releases | 2 | 18 | 33 |
| Last Updated | 1521d ago | 1104d ago | 23d ago |
| Age | 5y 4m | 10y 6m | 10y 9m |
Health Breakdown
kiam
Maintenance
3
Quality
15
Community
5
Popularity
5
Documentation
12
guard
Maintenance
4
Quality
14
Community
10
Popularity
7
Documentation
8
either
Maintenance
17
Quality
22
Community
18
Popularity
8
Documentation
15
Technical Details
| kiam | guard | either | |
|---|---|---|---|
| Version | 0.1.1 | 0.5.2 | 1.16.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 2 |
| Crate Size | 115KB | 9KB | 21KB |
| Features | 0 | 2 | 3 |
| Yanked % | 0.0% | 11.1% | 0.0% |
| Edition | 2018 | — | 2021 |
| MSRV | — | — | 1.63.0 |
| Owners | 1 | 1 | 3 |
Links
Quick Verdict
- •either has the highest health score (80/100) — a strong overall choice.
- •either is depended on by 24.3K crates — strongest ecosystem trust.
- •⚠ kiam, guard have not been updated in over a year.
- •kiam, guard are pre-1.0 — API may change.