Decision Workspace
morpheme vs sentencepiece-rs vs trustformers-tokenizers
Side-by-side comparison of Rust crates
52
morpheme
experimentalv0.5.0
Fast, pure-Rust subword tokenization (BPE, WordPiece, Unigram) compatible with Hugging Face tokenizers.
56
sentencepiece-rs
experimentalv0.2.2
Rust runtime reimplementation of SentencePiece model loading, normalization, encoding, and decoding.
55
trustformers-tokenizers
experimentalv0.2.1
Tokenizers for TrustformeRS
Core Metrics
| morpheme | sentencepiece-rs | trustformers-tokenizers | |
|---|---|---|---|
| Health Score | 52 | 56 | 55 |
| Total Downloads | 94 | 27.1K | 793 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 6 | 32 | 18 |
| Releases | 6 | 4 | 10 |
| Last Updated | 8d ago | 142d ago | 45d ago |
| Age | 9d | 5m | 11m |
Health Breakdown
morpheme
Maintenance
18
Quality
12
Community
8
Popularity
2
Documentation
12
sentencepiece-rs
Maintenance
14
Quality
15
Community
9
Popularity
5
Documentation
13
trustformers-tokenizers
Maintenance
17
Quality
11
Community
9
Popularity
3
Documentation
15
Technical Details
| morpheme | sentencepiece-rs | trustformers-tokenizers | |
|---|---|---|---|
| Version | 0.5.0 | 0.2.2 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | Apache-2.0 | Apache-2.0 |
| Dependencies | 20 | 0 | 35 |
| Crate Size | 174KB | 22KB | 571KB |
| Features | 4 | 0 | 9 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.85 | — | 1.89 |
| 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.