adk-rag 0.5.0

Retrieval-Augmented Generation for Rust Agent Development Kit (ADK-Rust) agents
Documentation
# 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"
rust-version = "1.85.0"
name = "adk-rag"
version = "0.5.0"
authors = ["James Karanja Maina <james.karanja@zavora.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Retrieval-Augmented Generation for Rust Agent Development Kit (ADK-Rust) agents"
documentation = "https://docs.rs/adk-rag"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "adk",
    "rag",
    "retrieval",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/zavora-ai/adk-rust"
resolver = "2"

[features]
default = []
full = [
    "gemini",
    "openai",
    "qdrant",
    "lancedb",
    "pgvector",
    "surrealdb",
]
gemini = ["dep:adk-gemini"]
lancedb = [
    "dep:lancedb",
    "dep:arrow-array",
    "dep:arrow-schema",
    "dep:futures",
]
openai = ["dep:reqwest"]
pgvector = ["dep:sqlx"]
qdrant = ["dep:qdrant-client"]
surrealdb = [
    "dep:surrealdb",
    "dep:surrealdb-types",
]

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

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

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

[dependencies.adk-core]
version = "0.5.0"

[dependencies.adk-gemini]
version = "0.5.0"
optional = true

[dependencies.arrow-array]
version = "58"
optional = true

[dependencies.arrow-schema]
version = "58"
optional = true

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

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.lancedb]
version = "0.27"
optional = true

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

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "postgres",
]
optional = true

[dependencies.surrealdb]
version = "3.0.1"
features = [
    "kv-mem",
    "kv-rocksdb",
]
optional = true

[dependencies.surrealdb-types]
version = "3.0.1"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.40"
features = ["sync"]
default-features = false

[dependencies.tracing]
version = "0.1"

[dev-dependencies.proptest]
version = "1.6"

[dev-dependencies.tokio]
version = "1.40"
features = [
    "test-util",
    "macros",
    "rt-multi-thread",
]
default-features = false