# 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"
name = "lumen-rag"
version = "0.1.0"
build = false
exclude = [
    "/tests",
    "/examples",
    ".github",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A modular, database-agnostic RAG framework for Rust supporting MongoDB and Qdrant."
homepage = "https://github.com/Maki-Grz/lumen-rag"
documentation = "https://docs.rs/lumen-rag"
readme = "README.md"
keywords = [
    "rag",
    "llm",
    "search",
    "vector-database",
    "nlp",
]
categories = [
    "science",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/Maki-Grz/lumen-rag"

[features]
default = ["mongodb"]
mongodb = ["dep:mongodb"]
qdrant = ["dep:qdrant-client"]

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

[dependencies.anyhow]
version = "1.0.100"

[dependencies.async-trait]
version = "0.1.89"

[dependencies.candle-core]
version = "0.9.1"

[dependencies.candle-nn]
version = "0.9.1"

[dependencies.candle-transformers]
version = "0.9.1"

[dependencies.futures]
version = "0.3.31"

[dependencies.futures-util]
version = "0.3.31"

[dependencies.hf-hub]
version = "0.4.3"

[dependencies.mongodb]
version = "3.3.0"
features = ["zstd-compression"]
optional = true

[dependencies.qdrant-client]
version = "1.7"
optional = true

[dependencies.rayon]
version = "1.11.0"

[dependencies.regex]
version = "1.11.2"

[dependencies.reqwest]
version = "0.12.23"
features = ["json"]

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokenizers]
version = "0.22.0"

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

[dependencies.twox-hash]
version = "2.1.2"

[dev-dependencies.actix-cors]
version = "0.7.1"

[dev-dependencies.actix-web]
version = "4.11.0"

[dev-dependencies.dotenv]
version = "0.15.0"

[dev-dependencies.qdrant-client]
version = "1.7"

[dev-dependencies.tracing-subscriber]
version = "0.3.20"
