Decision Workspace
tk-convert vs tk-serialize vs tk-encode
Side-by-side comparison of Rust crates
52
tk-convert
experimentalv0.1.0-rc.2
The legacy `tokenizer.json` upgrade pass of the π€ Tokenizers library: a JSONβJSON rewrite that turns a config written by any older version into the canonical form `tk-serialize`'s reader accepts.
53
tk-serialize
experimentalv0.1.0-rc.2
The reader for the canonical `tokenizer.json` format: a `hifijson` parse and a builder that constructs `tk-encode`'s runtime pipeline directly, with no serde anywhere. Legacy config shapes are `tk-convert`'s job, not this crate's.
50
tk-encode
experimentalv0.1.0-rc.2
Inference (encode/decode) half of the π€ Tokenizers library: model engines, the full pipeline components, and the `Tokenizer` orchestration β without any training code.
Core Metrics
| tk-convert | tk-serialize | tk-encode | |
|---|---|---|---|
| Health Score | 52 | 53 | 50 |
| Total Downloads | 1.9K | 1.7K | 1.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 1 | 6 |
| Releases | 3 | 3 | 3 |
| Last Updated | 18d ago | 18d ago | 18d ago |
| Age | 19d | 19d | 19d |
Health Breakdown
tk-convert
Maintenance
13
Quality
15
Community
7
Popularity
4
Documentation
13
tk-serialize
Maintenance
13
Quality
17
Community
6
Popularity
4
Documentation
13
tk-encode
Maintenance
13
Quality
13
Community
7
Popularity
4
Documentation
13
Technical Details
| tk-convert | tk-serialize | tk-encode | |
|---|---|---|---|
| Version | 0.1.0-rc.2 | 0.1.0-rc.2 | 0.1.0-rc.2 |
| Stable (β₯1.0) | β No | β No | β No |
| License | Apache-2.0 | Apache-2.0 | Apache-2.0 |
| Dependencies | 6 | 6 | 30 |
| Crate Size | 28KB | 59KB | 218KB |
| Features | 2 | 11 | 11 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | β | β | β |
| Owners | 2 | 2 | 2 |
Links
Quick Verdict
- β’tk-serialize leads with a health score of 53/100, but none of the options score above 80.
- β’tk-encode has the most downloads (1.9K), suggesting wider adoption.