Decision Workspace
pkg-config vs cc vs cmake
Side-by-side comparison of Rust crates
59
pkg-config
growingv0.3.32
A library to run the pkg-config system tool at build time in order to be used in Cargo build scripts.
79
cc
stablev1.2.58
A build-time dependency for Cargo build scripts to assist in invoking the native C compiler to compile native C code into a static archive to be linked into Rust code.
74
cmake
growingv0.1.58
A build dependency for running `cmake` to build a native library
Core Metrics
| pkg-config | cc | cmake | |
|---|---|---|---|
| Health Score | 59 | 79 | 74 |
| Total Downloads | 474.8M | 770.6M | 163.1M |
| 30d Downloads | 29.6M | 55.2M | 15.8M |
| Dependents | 11.4K | 34.2K | 8.8K |
| Releases | 45 | 205 | 59 |
| Last Updated | 389d ago | today | 1d ago |
| Age | 11y 4m | 11y 3m | 10y 8m |
Health Breakdown
pkg-config
Maintenance
7
Quality
15
Community
15
Popularity
8
Documentation
14
cc
Maintenance
19
Quality
20
Community
18
Popularity
8
Documentation
14
cmake
Maintenance
18
Quality
15
Community
18
Popularity
8
Documentation
15
Technical Details
| pkg-config | cc | cmake | |
|---|---|---|---|
| Version | 0.3.32 | 1.2.58 | 0.1.58 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 5 | 1 |
| Crate Size | 21KB | 96KB | 20KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 1.0% | 0.0% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | 1.31 | 1.63 | 1.65 |
| Owners | 3 | 2 (team) | 2 (team) |
Links
Quick Verdict
- •cc leads with a health score of 79/100, but none of the options score above 80.
- •cc is depended on by 34.2K crates — strongest ecosystem trust.
- •⚠ pkg-config has not been updated in over a year.
- •pkg-config, cmake are pre-1.0 — API may change.