textkit: token counting and the two segmenters

This commit is contained in:
funkpower
2026-09-19 11:04:27 -04:00
parent 00f4c38816
commit 0208b14b5d
6 changed files with 454 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
[package]
name = "textkit"
description = "Tokenising and segmenting text, the way the catena tools agree to do it."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
[dependencies]
tiktoken-rs.workspace = true
[lints.rust]
unsafe_code = "forbid"
missing_docs = "warn"