ghost-lib 0.2.0

Ghost Librarian — ultra-lightweight local-LLM RAG engine with Context Distillation
# 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.74"
name = "ghost-lib"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ghost Librarian — ultra-lightweight local-LLM RAG engine with Context Distillation"
homepage = "https://github.com/yu010101/ghost-librarian"
readme = "README.md"
keywords = [
    "rag",
    "llm",
    "embeddings",
    "search",
    "ollama",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/yu010101/ghost-librarian"

[[bin]]
name = "ghost-lib"
path = "src/main.rs"

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

[dependencies.anyhow]
version = "1"

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

[dependencies.crossterm]
version = "0.28"
features = ["event-stream"]

[dependencies.fastembed]
version = "4"

[dependencies.futures]
version = "0.3"

[dependencies.indicatif]
version = "0.17"

[dependencies.ollama-rs]
version = "0.2"
features = ["stream"]

[dependencies.pdf-extract]
version = "0.7"

[dependencies.ratatui]
version = "0.29"

[dependencies.rayon]
version = "1"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.text-splitter]
version = "0.16"
features = ["markdown"]

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.regex]
version = "1"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true