Decision Workspace
config vs cfg-derive vs twelf
Side-by-side comparison of Rust crates
71
config
growingv0.15.25
Layered configuration system for Rust applications.
54
cfg-derive
growingv1.0.0
A rust configuration loader
51
twelf
growingv0.15.0
Twelf is a configuration solution for Rust including 12-Factor support. It is designed with layers in order to configure different sources and formats to build your configuration. The main goal is to be very simple using a proc macro.
Core Metrics
| config | cfg-derive | twelf | |
|---|---|---|---|
| Health Score | 71 | 54 | 51 |
| Total Downloads | 99.8M | 52.3K | 321.5K |
| 30d Downloads | 3.4M | 32 | 7.4K |
| Dependents | 17.0K | 32 | 174 |
| Releases | 57 | 6 | 24 |
| Last Updated | 17d ago | 152d ago | 854d ago |
| Age | 11y 3m | 4y 10m | 5y 8m |
Health Breakdown
config
Maintenance
17
Quality
15
Community
19
Popularity
8
Documentation
12
cfg-derive
Maintenance
9
Quality
18
Community
9
Popularity
6
Documentation
12
twelf
Maintenance
6
Quality
17
Community
11
Popularity
7
Documentation
10
Technical Details
| config | cfg-derive | twelf | |
|---|---|---|---|
| Version | 0.15.25 | 1.0.0 | 0.15.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 26 | 3 | 13 |
| Crate Size | 56KB | 7KB | 27KB |
| Features | 10 | 1 | 11 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2018 | 2021 |
| MSRV | 1.85.0 | — | — |
| Owners | 5 (team) | 1 | 1 |
Links
Quick Verdict
- •config leads with a health score of 71/100, but none of the options score above 80.
- •config is depended on by 17.0K crates — strongest ecosystem trust.
- •⚠ twelf has not been updated in over a year.
- •config, twelf are pre-1.0 — API may change.