Decision Workspace
cmake vs cxx-build vs cc
Side-by-side comparison of Rust crates
69
cmake
growingv0.1.58
A build dependency for running `cmake` to build a native library
75
cxx-build
stablev1.0.204
C++ code generator for integrating `cxx` crate into a Cargo build.
74
cc
stablev1.7.0
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.
Core Metrics
| cmake | cxx-build | cc | |
|---|---|---|---|
| Health Score | 69 | 75 | 74 |
| Total Downloads | 340.7M | 75.7M | 1.3B |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 10.8K | 3.2K | 46.0K |
| Releases | 59 | 236 | 227 |
| Last Updated | 1d ago | today | today |
| Age | 11y 2m | 6y 5m | 11y 10m |
Health Breakdown
cmake
Maintenance
18
Quality
15
Community
13
Popularity
8
Documentation
15
cxx-build
Maintenance
19
Quality
19
Community
14
Popularity
8
Documentation
15
cc
Maintenance
19
Quality
19
Community
13
Popularity
8
Documentation
15
Technical Details
| cmake | cxx-build | cc | |
|---|---|---|---|
| Version | 0.1.58 | 1.0.204 | 1.7.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 10 | 5 |
| Crate Size | 20KB | 100KB | 124KB |
| Features | 0 | 1 | 2 |
| Yanked % | 0.0% | 0.0% | 0.9% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.65 | 1.88 | 1.65.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cxx-build leads with a health score of 75/100, but none of the options score above 80.
- •cc has the most downloads (1.3B), suggesting wider adoption.
- •cc is depended on by 46.0K crates — strongest ecosystem trust.
- •cmake is pre-1.0 — API may change.