Decision Workspace
twelf vs config vs cfg-derive
Side-by-side comparison of Rust crates
50
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.
71
config
growingv0.15.22
Layered configuration system for Rust applications.
57
cfg-derive
stablev1.0.0
A rust configuration loader
Core Metrics
| twelf | config | cfg-derive | |
|---|---|---|---|
| Health Score | 50 | 71 | 57 |
| Total Downloads | 269.4K | 76.1M | 40.0K |
| 30d Downloads | 13.1K | 5.7M | 92 |
| Dependents | 146 | 14.1K | 32 |
| Releases | 24 | 54 | 6 |
| Last Updated | 746d ago | 10d ago | 44d ago |
| Age | 5y 4m | 10y 11m | 4y 7m |
Health Breakdown
twelf
Maintenance
6
Quality
17
Community
11
Popularity
6
Documentation
10
config
Maintenance
17
Quality
15
Community
19
Popularity
8
Documentation
12
cfg-derive
Maintenance
13
Quality
18
Community
9
Popularity
5
Documentation
12
Technical Details
| twelf | config | cfg-derive | |
|---|---|---|---|
| Version | 0.15.0 | 0.15.22 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 13 | 26 | 3 |
| Crate Size | 27KB | 56KB | 7KB |
| Features | 11 | 10 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2018 |
| MSRV | — | 1.85.0 | — |
| Owners | 1 | 5 (team) | 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 14.1K crates — strongest ecosystem trust.
- •⚠ twelf has not been updated in over a year.
- •twelf, config are pre-1.0 — API may change.