# 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 = "2021"
rust-version = "1.88"
name = "anno-cli"
version = "0.11.0"
authors = ["Arc <attobop@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI for anno: extract entities, coreference chains, relations, and PII from text, HTML, and URLs"
homepage = "https://docs.rs/anno"
documentation = "https://docs.rs/anno-cli"
readme = false
keywords = [
    "ner",
    "nlp",
    "extraction",
    "cli",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/arclabs561/anno"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.dist]
dist = false

[features]
bundled-crf-weights = ["anno/bundled-crf-weights"]
bundled-hmm-params = ["anno/bundled-hmm-params"]
candle = ["anno/candle"]
chunking = ["anno/chunking"]
default = [
    "onnx",
    "extractor-readability",
    "heuristic-fr",
]
discourse = [
    "anno/discourse",
    "anno-eval/discourse",
]
eval = [
    "dep:muxer",
    "anno/analysis",
    "anno-eval/eval",
]
eval-bias = [
    "eval",
    "anno-eval/eval-bias",
]
extractor-html2text = ["deformat/html2text"]
extractor-readability = ["deformat/readability"]
graph = ["anno/graph"]
heuristic-fr = [
    "anno/heuristic-fr",
    "anno-eval/heuristic-fr",
]
instrument = []
llm = ["anno/llm"]
onnx = [
    "anno/onnx",
    "anno-eval/onnx",
]
parallel = ["anno/parallel"]
pdf = ["deformat/pdf"]

[[bin]]
name = "anno"
path = "src/main.rs"

[dependencies.anno]
version = "0.11.0"
default-features = false

[dependencies.anno-eval]
version = "0.11.0"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
    "wrap_help",
    "derive",
    "env",
    "wrap_help",
]

[dependencies.clap_complete]
version = "4"

[dependencies.deformat]
version = "0.15"

[dependencies.dirs]
version = "5"

[dependencies.glob]
version = "0.3"

[dependencies.indicatif]
version = "0.17"

[dependencies.itertools]
version = "0.14"

[dependencies.log]
version = "0.4"

[dependencies.muxer]
version = "0.5"
features = [
    "serde",
    "stochastic",
    "contextual",
]
optional = true
default-features = false

[dependencies.rayon]
version = "1"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.8"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.ureq]
version = "2"
features = [
    "json",
    "json",
]

[dependencies.xxhash-rust]
version = "0.8.15"
features = ["xxh3"]

[dev-dependencies.tempfile]
version = "3"
