# 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 = "2024"
name = "lvv"
version = "0.4.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A pipeline for embedding datasets with LLMs (Ollama/OpenAI) and loading them into a Qdrant vector database, with caching and job queuing."
readme = false
license = "Apache-2.0"
repository = "https://github.com/egonik-unlp/lvv"

[features]
default = []
http = ["dep:reqwest"]
postgres = ["dep:tokio-postgres"]
sql = [
    "dep:rusqlite",
    "dep:mysql_async",
]

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

[[bin]]
name = "merge_database_caches"
path = "src/bin/merge_database_caches.rs"

[dependencies.anyhow]
version = "1.0.100"

[dependencies.async-openai]
version = "0.30.1"

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

[dependencies.chrono]
version = "0.4.42"
features = ["serde"]

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

[dependencies.csv]
version = "1.3.1"

[dependencies.derive_builder]
version = "0.20.2"

[dependencies.dotenvy]
version = "0.15.7"

[dependencies.indicatif]
version = "0.18.2"

[dependencies.llm]
version = "1.3.4"

[dependencies.mysql_async]
version = "0.37.0"
optional = true

[dependencies.qdrant-client]
version = "1.15.0"
features = ["serde"]

[dependencies.rand]
version = "0.9.2"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

[dependencies.rusqlite]
version = "0.37"
features = ["bundled"]
optional = true

[dependencies.schemars]
version = "1.0.4"
features = ["chrono04"]

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.thiserror]
version = "2.0.17"

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

[dependencies.tokio-postgres]
version = "0.7"
features = ["with-serde_json-1"]
optional = true

[dependencies.toml]
version = "0.9.8"

[dependencies.uuid]
version = "1.18.1"
