Decision Workspace
code-chunk vs astchunk vs markdown-chunk
Side-by-side comparison of Rust crates
44
code-chunk
experimentalv0.1.0
Split source code into RAG-friendly chunks that respect function and class boundaries. Brace and indent-aware, language-agnostic heuristics. Zero deps.
43
astchunk
experimentalv0.2.0
AST-based code chunking for RAG
43
markdown-chunk
experimentalv0.1.0
Split Markdown into RAG-friendly chunks that respect heading hierarchy. Keeps each chunk under a soft char cap; never splits inside a fenced code block. Zero deps.
Core Metrics
| code-chunk | astchunk | markdown-chunk | |
|---|---|---|---|
| Health Score | 44 | 43 | 43 |
| Total Downloads | 24 | 350 | 57 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 13 | 0 |
| Releases | 1 | 2 | 1 |
| Last Updated | 146d ago | 192d ago | 146d ago |
| Age | 4m | 7m | 4m |
Health Breakdown
code-chunk
Maintenance
6
Quality
15
Community
6
Popularity
2
Documentation
15
astchunk
Maintenance
9
Quality
12
Community
9
Popularity
3
Documentation
10
markdown-chunk
Maintenance
6
Quality
15
Community
5
Popularity
2
Documentation
15
Technical Details
| code-chunk | astchunk | markdown-chunk | |
|---|---|---|---|
| Version | 0.1.0 | 0.2.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 19 | 0 |
| Crate Size | 7KB | 47KB | 7KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.74 | — | 1.74 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •code-chunk leads with a health score of 44/100, but none of the options score above 80.
- •astchunk has the most downloads (350), suggesting wider adoption.