# 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.91"
name = "sentencex"
version = "0.1.11"
authors = ["Santhosh Thottingal <santhosh.thottingal@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sentence segmentation library with wide language support optimized for speed and utility."
readme = "README.md"
keywords = [
    "nlp",
    "sentences",
    "multilingual",
]
categories = ["text-processing"]
license = "MIT"
repository = "https://github.com/wikimedia/sentencex"

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

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

[[example]]
name = "rust_example"
path = "examples/rust_example.rs"

[[test]]
name = "exclusion_test"
path = "tests/exclusion_test.rs"

[[bench]]
name = "segment_benchmark"
path = "benches/segment_benchmark.rs"
harness = false

[dependencies.clap]
version = "4.5.2"
features = ["derive"]

[dependencies.regex]
version = "1.12.2"

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

[dependencies.tree-sitter]
version = "0.25"
optional = true

[dependencies.tree-sitter-html]
version = "0.23"
optional = true

[dev-dependencies.criterion]
version = "0.7"
features = ["html_reports"]
