Decision Workspace
text-splitter vs code-splitter vs scirs2-text
Side-by-side comparison of Rust crates
59
text-splitter
growingv0.29.3
Split text into semantic chunks, up to a desired chunk size. Supports calculating length by characters and tokens, and is callable from Rust and Python.
42
code-splitter
growingv0.1.5
Split code into semantic chunks using tree-sitter
56
scirs2-text
experimentalv0.4.0
Text processing module for SciRS2 (scirs2-text)
Core Metrics
| text-splitter | code-splitter | scirs2-text | |
|---|---|---|---|
| Health Score | 59 | 42 | 56 |
| Total Downloads | 1.1M | 5.4K | 9.7K |
| 30d Downloads | 110.8K | 25 | 2.0K |
| Dependents | 654 | 0 | 50 |
| Releases | 60 | 5 | 27 |
| Last Updated | 87d ago | 550d ago | 1d ago |
| Age | 2y 10m | 1y 6m | 11m |
Health Breakdown
text-splitter
Maintenance
14
Quality
13
Community
13
Popularity
7
Documentation
12
code-splitter
Maintenance
8
Quality
15
Community
5
Popularity
4
Documentation
10
scirs2-text
Maintenance
19
Quality
11
Community
11
Popularity
5
Documentation
10
Technical Details
| text-splitter | code-splitter | scirs2-text | |
|---|---|---|---|
| Version | 0.29.3 | 0.1.5 | 0.4.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | Apache-2.0 |
| Dependencies | 21 | 8 | 17 |
| Crate Size | 59KB | 11KB | 831KB |
| Features | 4 | 2 | 4 |
| Yanked % | 1.7% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.83.0 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •text-splitter leads with a health score of 59/100, but none of the options score above 80.
- •text-splitter is depended on by 654 crates — strongest ecosystem trust.
- •⚠ code-splitter has not been updated in over a year.