Decision Workspace
sentencepiece-rust vs sentencepiece-rs vs kitoken
Side-by-side comparison of Rust crates
51
sentencepiece-rust
experimentalv0.1.1
From-scratch pure-Rust SentencePiece inference (encode/decode), differentially verified against the upstream C++/Python implementation.
56
sentencepiece-rs
experimentalv0.2.2
Rust runtime reimplementation of SentencePiece model loading, normalization, encoding, and decoding.
54
kitoken
growingv0.11.0
Fast tokenizer for language models, supporting BPE, Unigram and WordPiece tokenization
Core Metrics
| sentencepiece-rust | sentencepiece-rs | kitoken | |
|---|---|---|---|
| Health Score | 51 | 56 | 54 |
| Total Downloads | 4.4K | 27.1K | 46.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 19 | 32 | 23 |
| Releases | 2 | 4 | 3 |
| Last Updated | 106d ago | 142d ago | 152d ago |
| Age | 3m | 5m | 1y 9m |
Health Breakdown
sentencepiece-rust
Maintenance
12
Quality
14
Community
9
Popularity
4
Documentation
12
sentencepiece-rs
Maintenance
14
Quality
15
Community
9
Popularity
5
Documentation
13
kitoken
Maintenance
10
Quality
16
Community
10
Popularity
6
Documentation
12
Technical Details
| sentencepiece-rust | sentencepiece-rs | kitoken | |
|---|---|---|---|
| Version | 0.1.1 | 0.2.2 | 0.11.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | Apache-2.0 | BSD-2-Clause |
| Dependencies | 0 | 0 | 24 |
| Crate Size | 480KB | 22KB | 64KB |
| Features | 0 | 0 | 21 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.70 | — | 1.86.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •sentencepiece-rs leads with a health score of 56/100, but none of the options score above 80.
- •kitoken has the most downloads (46.9K), suggesting wider adoption.