Decision Workspace
clap-config-file vs clap_args vs clapfig
Side-by-side comparison of Rust crates
50
clap-config-file
growingv0.6.0
A proc macro for adding config file support to clap
44
clap_args
experimentalv0.1.8
Lightweight wrapper for clap to auto-handle version and help / clap 轻量封装,自动处理版本与帮助
59
clapfig
experimentalv0.21.4
Rich, layered configuration for Rust CLI apps
Core Metrics
| clap-config-file | clap_args | clapfig | |
|---|---|---|---|
| Health Score | 50 | 44 | 59 |
| Total Downloads | 34.1K | 3.3K | 2.0K |
| 30d Downloads | 8.8K | 0 | 0 |
| Dependents | 11 | 11 | 229 |
| Releases | 6 | 8 | 31 |
| Last Updated | 244d ago | 173d ago | 1d ago |
| Age | 1y 3m | 10m | 3m |
Health Breakdown
clap-config-file
Maintenance
9
Quality
14
Community
9
Popularity
5
Documentation
13
clap_args
Maintenance
11
Quality
15
Community
6
Popularity
4
Documentation
8
clapfig
Maintenance
19
Quality
14
Community
12
Popularity
4
Documentation
10
Technical Details
| clap-config-file | clap_args | clapfig | |
|---|---|---|---|
| Version | 0.6.0 | 0.1.8 | 0.21.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MulanPSL-2.0 | MIT |
| Dependencies | 10 | 5 | 14 |
| Crate Size | 23KB | 7KB | 218KB |
| Features | 1 | 2 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •clapfig leads with a health score of 59/100, but none of the options score above 80.
- •clap-config-file has the most downloads (34.1K), suggesting wider adoption.
- •clapfig is depended on by 229 crates — strongest ecosystem trust.