Decision Workspace
pretok vs lexxor vs text-splitter
Side-by-side comparison of Rust crates
32
pretok
growingv0.1.0
A string pre-tokenizer for C-like syntaxes.
43
lexxor
growingv0.9.2
A fast, extensible, greedy, single-pass text tokenizer for Rust
64
text-splitter
growingv0.33.0
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.
Core Metrics
| pretok | lexxor | text-splitter | |
|---|---|---|---|
| Health Score | 32 | 43 | 64 |
| Total Downloads | 1.7K | 1.2K | 2.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 1.0K |
| Releases | 1 | 3 | 65 |
| Last Updated | 2219d ago | 330d ago | 16d ago |
| Age | 6y | 1y 4m | 3y 5m |
Health Breakdown
pretok
Maintenance
1
Quality
15
Community
3
Popularity
4
Documentation
9
lexxor
Maintenance
7
Quality
13
Community
6
Popularity
4
Documentation
13
text-splitter
Maintenance
18
Quality
13
Community
13
Popularity
8
Documentation
12
Technical Details
| pretok | lexxor | text-splitter | |
|---|---|---|---|
| Version | 0.1.0 | 0.9.2 | 0.33.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 2 | 3 | 20 |
| Crate Size | 7KB | 730KB | 62KB |
| Features | 0 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 1.5% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | — | 1.90.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •text-splitter leads with a health score of 64/100, but none of the options score above 80.
- •text-splitter is depended on by 1.0K crates — strongest ecosystem trust.
- •⚠ pretok has not been updated in over a year.