[package]
name = "kproc"
description = "Knowledge Processing library."
readme = "README.MD"
version.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
[features]
default = ["ollama", "llama.cpp", "image", "html", "http", "simple-api"]
html = ["dep:html2text"]
http = ["dep:isahc"]
image = ["kproc-values/image"]
"llama.cpp" = ["kproc-llm/llama.cpp"]
ollama = ["kproc-llm/ollama", "schemars", "kproc-values/ollama"]
schemars = ["kproc-values/schemars"]
simple-api = ["kproc-llm/simple-api"]
[dependencies]
kproc-llm = { workspace = true }
kproc_pmacros = { workspace = true }
kproc-values = { workspace = true }
async-broadcast = "0.7"
ccutils = { version = "0.4", features = ["sync"] }
html2text = { version = "0.16", optional = true }
isahc = { version = "1", optional = true }
log.workspace = true
serde_json.workspace = true
thiserror.workspace = true
[dev-dependencies]
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
yaaral = { workspace = true, features = ["tokio_runtime"] }