Decision Workspace
clap-layers vs clapfig vs partial_config
Side-by-side comparison of Rust crates
43
clap-layers
experimentalv0.1.0
Correct layered configuration for clap: explicit CLI flag > env var > config file > default, from a single struct.
59
clapfig
experimentalv0.26.0
Rich, layered configuration for Rust CLI apps
51
partial_config
growingv0.7.3
A Rust crate to implement layered partial configuration
Core Metrics
| clap-layers | clapfig | partial_config | |
|---|---|---|---|
| Health Score | 43 | 59 | 51 |
| Total Downloads | 23 | 7.1K | 22.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 345 | 0 |
| Releases | 1 | 39 | 16 |
| Last Updated | 85d ago | 37d ago | 86d ago |
| Age | 2m | 8m | 2y 6m |
Health Breakdown
clap-layers
Maintenance
8
Quality
12
Community
6
Popularity
2
Documentation
15
clapfig
Maintenance
17
Quality
12
Community
13
Popularity
5
Documentation
12
partial_config
Maintenance
14
Quality
16
Community
6
Popularity
5
Documentation
10
Technical Details
| clap-layers | clapfig | partial_config | |
|---|---|---|---|
| Version | 0.1.0 | 0.26.0 | 0.7.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | Apache-2.0 |
| Dependencies | 8 | 19 | 9 |
| Crate Size | 38KB | 414KB | 19KB |
| Features | 0 | 5 | 8 |
| Yanked % | 0.0% | 2.6% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.85 | 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.
- •partial_config has the most downloads (22.0K), suggesting wider adoption.
- •clapfig is depended on by 345 crates — strongest ecosystem trust.