Decision Workspace
carta-ast vs kdl vs twig-doc
Side-by-side comparison of Rust crates
60
carta-ast
experimentalv0.0.11
Document model (AST) and its JSON serialization.
63
kdl
stablev6.7.1
Document-oriented KDL parser and API. Allows formatting/whitespace/comment-preserving parsing and modification of KDL text.
62
twig-doc
experimentalv4.1.0
Parse, query, edit, and losslessly round-trip Djot, Markdown, HTML, and XML documents.
Core Metrics
| carta-ast | kdl | twig-doc | |
|---|---|---|---|
| Health Score | 60 | 63 | 62 |
| Total Downloads | 1.2K | 2.7M | 3.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 44 | 1.4K | 105 |
| Releases | 11 | 38 | 43 |
| Last Updated | 5d ago | 131d ago | 4d ago |
| Age | 3m | 5y 10m | 2m |
Health Breakdown
carta-ast
Maintenance
19
Quality
14
Community
11
Popularity
4
Documentation
12
kdl
Maintenance
13
Quality
18
Community
12
Popularity
8
Documentation
12
twig-doc
Maintenance
14
Quality
17
Community
12
Popularity
4
Documentation
15
Technical Details
| carta-ast | kdl | twig-doc | |
|---|---|---|---|
| Version | 0.0.11 | 6.7.1 | 4.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 10 | 9 | 1 |
| Crate Size | 37KB | 130KB | 95KB |
| Features | 2 | 4 | 0 |
| Yanked % | 0.0% | 2.6% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.93 | 1.95 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •kdl leads with a health score of 63/100, but none of the options score above 80.
- •kdl is depended on by 1.4K crates — strongest ecosystem trust.
- •carta-ast is pre-1.0 — API may change.