Decision Workspace
claptrap vs slap-cli vs clap_derive
Side-by-side comparison of Rust crates
45
claptrap
experimentalv0.3.0
Bring the power of Clap to shell scripts.
38
slap-cli
growingv1.3.1
Painless shell argument parsing and dependency check.
79
clap_derive
stablev4.6.0
Parse command line argument by defining a struct, derive crate.
Core Metrics
| claptrap | slap-cli | clap_derive | |
|---|---|---|---|
| Health Score | 45 | 38 | 79 |
| Total Downloads | 1.6K | 8.9K | 445.8M |
| 30d Downloads | 7 | 4 | 35.1M |
| Dependents | 0 | 0 | 3.1K |
| Releases | 4 | 7 | 89 |
| Last Updated | 223d ago | 1957d ago | 15d ago |
| Age | 9m | 5y 6m | 5y 10m |
Health Breakdown
claptrap
Maintenance
10
Quality
11
Community
5
Popularity
4
Documentation
15
slap-cli
Maintenance
4
Quality
14
Community
6
Popularity
5
Documentation
9
clap_derive
Maintenance
18
Quality
21
Community
20
Popularity
8
Documentation
12
Technical Details
| claptrap | slap-cli | clap_derive | |
|---|---|---|---|
| Version | 0.3.0 | 1.3.1 | 4.6.0 |
| 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 | 33KB |
| 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 79/100, but none of the options score above 80.
- •clap_derive is depended on by 3.1K crates — strongest ecosystem trust.
- •⚠ slap-cli has not been updated in over a year.
- •claptrap is pre-1.0 — API may change.