Decision Workspace
pkg-config vs cc vs cxx-build
Side-by-side comparison of Rust crates
65
pkg-config
growingv0.3.33
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.67
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.
75
cxx-build
stablev1.0.197
C++ code generator for integrating `cxx` crate into a Cargo build.
Core Metrics
| pkg-config | cc | cxx-build | |
|---|---|---|---|
| Health Score | 65 | 79 | 75 |
| Total Downloads | 622.3M | 1.0B | 64.9M |
| 30d Downloads | 29.0M | 49.0M | 1.8M |
| Dependents | 12.4K | 40.1K | 2.8K |
| Releases | 46 | 214 | 229 |
| Last Updated | 92d ago | 2d ago | 6d ago |
| Age | 11y 8m | 11y 7m | 6y 2m |
Health Breakdown
pkg-config
Maintenance
13
Quality
15
Community
15
Popularity
8
Documentation
14
cc
Maintenance
19
Quality
20
Community
18
Popularity
8
Documentation
14
cxx-build
Maintenance
19
Quality
19
Community
14
Popularity
8
Documentation
15
Technical Details
| pkg-config | cc | cxx-build | |
|---|---|---|---|
| Version | 0.3.33 | 1.2.67 | 1.0.197 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 5 | 10 |
| Crate Size | 22KB | 96KB | 99KB |
| Features | 0 | 2 | 1 |
| Yanked % | 0.0% | 0.9% | 0.0% |
| Edition | 2018 | 2018 | 2024 |
| MSRV | 1.31 | 1.63 | 1.85 |
| Owners | 3 | 2 (team) | 1 |
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 40.1K crates — strongest ecosystem trust.
- •pkg-config is pre-1.0 — API may change.