Decision Workspace
claptrap vs slap-cli vs clap_derive
Side-by-side comparison of Rust crates
44
claptrap
growingv0.3.0
Bring the power of Clap to shell scripts.
38
slap-cli
growingv1.3.1
Painless shell argument parsing and dependency check.
78
clap_derive
stablev4.6.7
Parse command line argument by defining a struct, derive crate.
Core Metrics
| claptrap | slap-cli | clap_derive | |
|---|---|---|---|
| Health Score | 44 | 38 | 78 |
| Total Downloads | 1.7K | 8.9K | 820.9M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 3.3K |
| Releases | 4 | 7 | 93 |
| Last Updated | 420d ago | 2153d ago | 25d ago |
| Age | 1y 4m | 6y 1m | 6y 5m |
Health Breakdown
claptrap
Maintenance
8
Quality
12
Community
5
Popularity
4
Documentation
15
slap-cli
Maintenance
4
Quality
14
Community
6
Popularity
5
Documentation
9
clap_derive
Maintenance
17
Quality
21
Community
20
Popularity
8
Documentation
12
Technical Details
| claptrap | slap-cli | clap_derive | |
|---|---|---|---|
| Version | 0.3.0 | 1.3.1 | 4.6.7 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 20 | 9 | 6 |
| Crate Size | 1.3MB | 20KB | 34KB |
| Features | 3 | 2 | 6 |
| Yanked % | 0.0% | 85.7% | 1.1% |
| Edition | 2021 | 2018 | 2024 |
| MSRV | 1.82.0 | — | 1.85 |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •clap_derive leads with a health score of 78/100, but none of the options score above 80.
- •clap_derive is depended on by 3.3K crates — strongest ecosystem trust.
- •⚠ claptrap, slap-cli have not been updated in over a year.
- •claptrap is pre-1.0 — API may change.