Decision Workspace
kconfig-rs vs cfg-expr vs vergen-lib
Side-by-side comparison of Rust crates
44
kconfig-rs
growingv0.3.1
Build library for translating Kconfig into Rust cfgs
73
cfg-expr
growingv0.20.10
A parser and evaluator for Rust `cfg()` expressions.
73
vergen-lib
stablev10.0.3
Common code used to support the vergen libraries
Core Metrics
| kconfig-rs | cfg-expr | vergen-lib | |
|---|---|---|---|
| Health Score | 44 | 73 | 73 |
| Total Downloads | 1.8K | 110.4M | 29.0M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 406 | 188 |
| Releases | 5 | 52 | 19 |
| Last Updated | 410d ago | 8d ago | 46d ago |
| Age | 1y 1m | 6y 9m | 2y 8m |
Health Breakdown
kconfig-rs
Maintenance
7
Quality
16
Community
6
Popularity
4
Documentation
11
cfg-expr
Maintenance
21
Quality
17
Community
12
Popularity
8
Documentation
15
vergen-lib
Maintenance
17
Quality
21
Community
12
Popularity
8
Documentation
15
Technical Details
| kconfig-rs | cfg-expr | vergen-lib | |
|---|---|---|---|
| Version | 0.3.1 | 0.20.10 | 10.0.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | non-standard | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 3 | 6 |
| Crate Size | 4KB | 46KB | 23KB |
| Features | 0 | 2 | 9 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.85.0 | 1.96.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cfg-expr leads with a health score of 73/100, but none of the options score above 80.
- •cfg-expr is depended on by 406 crates — strongest ecosystem trust.
- •⚠ kconfig-rs has not been updated in over a year.
- •kconfig-rs, cfg-expr are pre-1.0 — API may change.