Decision Workspace
clang-ast vs cxx vs link-cplusplus
Side-by-side comparison of Rust crates
55
clang-ast
growingv0.1.35
Data structures for processing Clang's `-ast-dump=json` format
70
cxx
stablev1.0.194
Safe interop between Rust and C++
66
link-cplusplus
growingv1.0.12
Link libstdc++ or libc++ automatically or manually
Core Metrics
| clang-ast | cxx | link-cplusplus | |
|---|---|---|---|
| Health Score | 55 | 70 | 66 |
| Total Downloads | 523.5K | 58.4M | 57.5M |
| 30d Downloads | 1.5K | 3.0M | 3.1M |
| Dependents | 123 | 3.7K | 522 |
| Releases | 36 | 241 | 13 |
| Last Updated | 180d ago | 65d ago | 202d ago |
| Age | 4y 11m | 6y 3m | 6y 2m |
Health Breakdown
clang-ast
Maintenance
11
Quality
13
Community
11
Popularity
7
Documentation
13
cxx
Maintenance
15
Quality
18
Community
14
Popularity
8
Documentation
15
link-cplusplus
Maintenance
9
Quality
23
Community
12
Popularity
8
Documentation
14
Technical Details
| clang-ast | cxx | link-cplusplus | |
|---|---|---|---|
| Version | 0.1.35 | 1.0.194 | 1.0.12 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 9 | 19 | 1 |
| Crate Size | 42KB | 239KB | 8KB |
| Features | 0 | 6 | 6 |
| Yanked % | 0.0% | 1.7% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.82 | 1.68 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cxx leads with a health score of 70/100, but none of the options score above 80.
- •cxx is depended on by 3.7K crates — strongest ecosystem trust.
- •clang-ast is pre-1.0 — API may change.