[package]
edition = "2021"
rust-version = "1.93.0"
name = "khive-text"
version = "0.4.0"
authors = ["Ocean <ocean@lionagi.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Text analysis primitives for khive: tokenization, normalization, filtering"
homepage = "https://github.com/ohdearquant/khive"
readme = "README.md"
keywords = [
"knowledge-graph",
"semantic-search",
"mcp",
"ai-tools",
"graph-database",
]
categories = [
"database",
"command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/ohdearquant/khive"
[features]
default = []
full = [
"unicode",
"stem",
]
stem = ["dep:rust-stemmers"]
unicode = ["dep:unicode-segmentation"]
[lib]
name = "khive_text"
path = "src/lib.rs"
bench = false
[[test]]
name = "public_api"
path = "tests/public_api.rs"
[[test]]
name = "stem"
path = "tests/stem.rs"
[[bench]]
name = "text_bench"
path = "benches/text_bench.rs"
harness = false
[dependencies.rust-stemmers]
version = "1.2"
optional = true
[dependencies.unicode-segmentation]
version = "1.11"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = [
"html_reports",
"async_tokio",
]
[dev-dependencies.khive-bm25]
version = "0.4.0"