[package]
edition = "2024"
rust-version = "1.85"
name = "tiktag"
version = "0.1.3"
build = false
include = [
"src/**/*",
"benches/anonymize.rs",
"models/profiles.toml",
"README.md",
"LICENSE",
"CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust library and CLI for multilingual text anonymization with a built-in ONNX NER model."
homepage = "https://github.com/agmxyz/tiktag"
documentation = "https://docs.rs/tiktag"
readme = "README.md"
keywords = [
"anonymization",
"pii",
"ner",
"onnx",
"nlp",
]
categories = [
"command-line-utilities",
"text-processing",
]
license = "MIT"
repository = "https://github.com/agmxyz/tiktag"
[lib]
name = "tiktag"
path = "src/lib.rs"
[[bin]]
name = "tiktag"
path = "src/main.rs"
[[bench]]
name = "anonymize"
path = "benches/anonymize.rs"
harness = false
[dependencies.anyhow]
version = "1.0.102"
[dependencies.clap]
version = "4.6.0"
features = ["derive"]
[dependencies.env_logger]
version = "0.11.8"
[dependencies.hf-hub]
version = "0.5.0"
features = ["ureq"]
default-features = false
[dependencies.log]
version = "0.4.28"
[dependencies.ndarray]
version = "0.17.2"
[dependencies.regex]
version = "1.12.2"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.sha2]
version = "0.10.9"
[dependencies.thiserror]
version = "2"
[dependencies.tokenizers]
version = "0.22.2"
[dependencies.toml]
version = "0.9.8"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.tempfile]
version = "3.19.1"
[target.'cfg(not(target_os = "macos"))'.dependencies.ort]
version = "2.0.0-rc.12"
[target.'cfg(target_os = "macos")'.dependencies.ort]
version = "2.0.0-rc.12"
features = ["coreml"]