Decision Workspace
json_compilation_db vs compiledb vs clang-ast
Side-by-side comparison of Rust crates
51
json_compilation_db
growingv1.0.2
Rust crate to read/write JSON compilation database file.
59
compiledb
growingv1.1.5
Clang's Compilation Database generator for make-based build systems
55
clang-ast
growingv0.1.35
Data structures for processing Clang's `-ast-dump=json` format
Core Metrics
| json_compilation_db | compiledb | clang-ast | |
|---|---|---|---|
| Health Score | 51 | 59 | 55 |
| Total Downloads | 12.5K | 2.5K | 523.5K |
| 30d Downloads | 490 | 32 | 1.4K |
| Dependents | 3 | 0 | 123 |
| Releases | 6 | 9 | 36 |
| Last Updated | 356d ago | 29d ago | 180d ago |
| Age | 6y 5m | 11m | 4y 11m |
Health Breakdown
json_compilation_db
Maintenance
8
Quality
20
Community
5
Popularity
5
Documentation
13
compiledb
Maintenance
21
Quality
16
Community
6
Popularity
4
Documentation
12
clang-ast
Maintenance
11
Quality
13
Community
11
Popularity
7
Documentation
13
Technical Details
| json_compilation_db | compiledb | clang-ast | |
|---|---|---|---|
| Version | 1.0.2 | 1.1.5 | 0.1.35 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | GPL-3.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 14 | 9 |
| Crate Size | 8KB | 35KB | 42KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.87.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •compiledb leads with a health score of 59/100, but none of the options score above 80.
- •clang-ast has the most downloads (523.5K), suggesting wider adoption.
- •clang-ast is depended on by 123 crates — strongest ecosystem trust.
- •clang-ast is pre-1.0 — API may change.