[package]
edition = "2024"
rust-version = "1.89"
name = "bitcannon"
version = "0.1.0-rc.3"
authors = [
"Arthur Zucker <arthur@huggingface.co>",
"Luc Georges <luc@huggingface.co>",
"Simon Brandeis <simon@huggingface.co>",
]
build = false
exclude = ["benches/data/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SIMD Unicode atom classification + bitstream pre-tokenization: one classify pass into byte-exact token spans (cl100k, o200k, GPT-2/ByteLevel, DeepSeek, Whitespace, Bert, ...)."
homepage = "https://github.com/huggingface/tokenizers"
documentation = "https://docs.rs/bitcannon/"
readme = false
keywords = [
"tokenizer",
"nlp",
"pretokenizer",
"simd",
"unicode",
]
categories = [
"text-processing",
"parsing",
]
license = "Apache-2.0"
repository = "https://github.com/huggingface/tokenizers"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "bitcannon"
path = "src/lib.rs"
[[test]]
name = "classes"
path = "tests/classes.rs"
[[test]]
name = "parity"
path = "tests/parity.rs"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.onig]
version = "6.5.1"