Decision Workspace
rustok vs toklab-core vs ttok-rs
Side-by-side comparison of Rust crates
41
rustok
experimentalv0.1.0
Fast OpenAI token counter for files, directories and stdin
46
toklab-core
experimentalv0.1.1
Pure-Rust core for toklab: bulk tokenizer + counter for OpenAI BPE encodings.
40
ttok-rs
experimentalv0.1.0
Count and truncate text based on tokens (Rust clone of ttok)
Core Metrics
| rustok | toklab-core | ttok-rs | |
|---|---|---|---|
| Health Score | 41 | 46 | 40 |
| Total Downloads | 20 | 40 | 19 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 2 | 1 |
| Last Updated | 61d ago | 152d ago | 71d ago |
| Age | 2m | 5m | 2m |
Health Breakdown
rustok
Maintenance
9
Quality
12
Community
6
Popularity
2
Documentation
12
toklab-core
Maintenance
10
Quality
13
Community
6
Popularity
2
Documentation
15
ttok-rs
Maintenance
9
Quality
13
Community
6
Popularity
2
Documentation
10
Technical Details
| rustok | toklab-core | ttok-rs | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.1 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 12 | 4 | 5 |
| Crate Size | 30KB | 7KB | 8KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.88 | 1.75 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •toklab-core leads with a health score of 46/100, but none of the options score above 80.