Decision Workspace
herolib-code vs codegraph-rust vs lgwks_ast
Side-by-side comparison of Rust crates
46
herolib-code
experimentalv0.3.13
Code analysis and parsing utilities for Rust source files
42
codegraph-rust
experimentalv0.2.1
Rust parser for CodeGraph - extracts code entities and relationships from Rust source files
58
lgwks_ast
experimentalv1.1.0
One multi-language AST parser: language identification from path or shebang, opt-in content parsing, tree-sitter grammar selection by cargo feature, bounded traversal, and span-carrying typed diagnostics. Includes a typed-diagnostic derive.
Core Metrics
| herolib-code | codegraph-rust | lgwks_ast | |
|---|---|---|---|
| Health Score | 46 | 42 | 58 |
| Total Downloads | 388 | 288 | 179 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 2 | 0 | 5 |
| Releases | 12 | 6 | 11 |
| Last Updated | 259d ago | 251d ago | 3d ago |
| Age | 9m | 11m | 27d |
Health Breakdown
herolib-code
Maintenance
10
Quality
14
Community
7
Popularity
3
Documentation
12
codegraph-rust
Maintenance
11
Quality
12
Community
6
Popularity
3
Documentation
10
lgwks_ast
Maintenance
14
Quality
18
Community
8
Popularity
3
Documentation
15
Technical Details
| herolib-code | codegraph-rust | lgwks_ast | |
|---|---|---|---|
| Version | 0.3.13 | 0.2.1 | 1.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Apache-2.0 | Apache-2.0 | Apache-2.0 |
| Dependencies | 14 | 10 | 5 |
| Crate Size | 38KB | 24KB | 106KB |
| Features | 2 | 0 | 30 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.92.0 | — | 1.98 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •lgwks_ast leads with a health score of 58/100, but none of the options score above 80.
- •herolib-code has the most downloads (388), suggesting wider adoption.
- •herolib-code, codegraph-rust are pre-1.0 — API may change.