# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "rllm-tokenizer"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HF tokenizer loading, encoding, decoding, streaming detokenization, and chat templates for rLLM"
readme = false
license = "Apache-2.0"
resolver = "2"

[lib]
name = "rllm_tokenizer"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1"

[dependencies.hf-hub]
version = "0.4"
features = [
    "tokio",
    "rustls-tls",
    "ureq",
]
default-features = false

[dependencies.minijinja]
version = "2"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rllm-core]
version = "0.1.0"

[dependencies.rllm-metrics]
version = "0.1.0"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokenizers]
version = "0.21"
features = ["onig"]
default-features = false

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"
