Decision Workspace
clap-config-file vs clap_args vs clapfig
Side-by-side comparison of Rust crates
49
clap-config-file
growingv0.6.0
A proc macro for adding config file support to clap
54
clap_args
growingv0.1.9
Lightweight wrapper for clap to auto-handle version and help / clap 轻量封装,自动处理版本与帮助
59
clapfig
experimentalv0.26.0
Rich, layered configuration for Rust CLI apps
Core Metrics
| clap-config-file | clap_args | clapfig | |
|---|---|---|---|
| Health Score | 49 | 54 | 59 |
| Total Downloads | 81.4K | 3.8K | 7.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 13 | 22 | 345 |
| Releases | 6 | 9 | 39 |
| Last Updated | 381d ago | 43d ago | 37d ago |
| Age | 1y 8m | 1y 3m | 8m |
Health Breakdown
clap-config-file
Maintenance
7
Quality
14
Community
9
Popularity
6
Documentation
13
clap_args
Maintenance
16
Quality
16
Community
10
Popularity
4
Documentation
8
clapfig
Maintenance
17
Quality
12
Community
13
Popularity
5
Documentation
12
Technical Details
| clap-config-file | clap_args | clapfig | |
|---|---|---|---|
| Version | 0.6.0 | 0.1.9 | 0.26.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MulanPSL-2.0 | MIT |
| Dependencies | 10 | 5 | 19 |
| Crate Size | 23KB | 7KB | 414KB |
| Features | 1 | 2 | 5 |
| Yanked % | 0.0% | 0.0% | 2.6% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | — | 1.96 |
| 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 (81.4K), suggesting wider adoption.
- •clapfig is depended on by 345 crates — strongest ecosystem trust.
- •⚠ clap-config-file has not been updated in over a year.