Decision Workspace
astchunk vs code-chunk vs tokio-cast
Side-by-side comparison of Rust crates
43
astchunk
experimentalv0.2.0
AST-based code chunking for RAG
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.
38
tokio-cast
experimentalv0.1.0
CAST algorithm implementation for code RAG pipelines, powered by tokio-actors
Core Metrics
| astchunk | code-chunk | tokio-cast | |
|---|---|---|---|
| Health Score | 43 | 44 | 38 |
| Total Downloads | 350 | 24 | 26 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 13 | 0 | 0 |
| Releases | 2 | 1 | 1 |
| Last Updated | 192d ago | 146d ago | 198d ago |
| Age | 7m | 4m | 6m |
Health Breakdown
astchunk
Maintenance
9
Quality
12
Community
9
Popularity
3
Documentation
10
code-chunk
Maintenance
6
Quality
15
Community
6
Popularity
2
Documentation
15
tokio-cast
Maintenance
5
Quality
12
Community
6
Popularity
2
Documentation
13
Technical Details
| astchunk | code-chunk | tokio-cast | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 19 | 0 | 9 |
| Crate Size | 47KB | 7KB | 29KB |
| Features | 1 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | 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.