parsitext 0.1.2

High-performance Persian (Farsi) text processing engine for Rust — normalization, tokenization, entity recognition.
Documentation
# 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 = "parsitext"
version = "0.1.2"
authors = ["rust-lib contributors"]
build = false
exclude = ["target/**/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance Persian (Farsi) text processing engine for Rust — normalization, tokenization, entity recognition."
homepage = "https://github.com/obsernetics/rust-lib"
documentation = "https://docs.rs/parsitext"
readme = "README.adoc"
keywords = [
    "persian",
    "farsi",
    "nlp",
    "text-processing",
    "normalization",
]
categories = [
    "text-processing",
    "internationalization",
]
license = "Apache-2.0"
repository = "https://github.com/obsernetics/rust-lib"

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

[features]
default = ["parallel"]
jalali = ["dep:jalali-calendar"]
parallel = ["dep:rayon"]
serde = ["dep:serde"]
tantivy = ["dep:tantivy"]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aho-corasick]
version = "1.1"

[dependencies.jalali-calendar]
version = "0.1"
optional = true

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.regex]
version = "1"

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "alloc",
]
optional = true
default-features = false

[dependencies.tantivy]
version = "0.22"
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.serde_json]
version = "1.0"

[lints.rust]
unsafe_code = "forbid"