docling-rag 0.47.3

Pluggable RAG subsystem for docling.rs: chunking, embeddings, vector store, and semantic search.
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 = "2021"
rust-version = "1.88"
name = "docling-rag"
version = "0.47.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pluggable RAG subsystem for docling.rs: chunking, embeddings, vector store, and semantic search."
homepage = "https://github.com/docling-project/docling.rs"
readme = "README.md"
keywords = [
    "rag",
    "embeddings",
    "semantic-search",
    "vector",
    "docling",
]
categories = [
    "text-processing",
    "database",
]
license = "MIT"
repository = "https://github.com/docling-project/docling.rs"

[features]
coreml = [
    "docling/coreml",
    "docling-pdf/coreml",
    "ort?/coreml",
    "ort?/copy-dylibs",
]
cuda = [
    "docling/cuda",
    "docling-pdf/cuda",
    "ort?/cuda",
    "ort?/copy-dylibs",
]
default = [
    "sqlite",
    "ollama",
]
directml = [
    "docling/directml",
    "docling-pdf/directml",
    "ort?/directml",
    "ort?/copy-dylibs",
]
gemini = []
ollama = []
onnx-embed = [
    "dep:ort",
    "dep:tokenizers",
]
openrouter = []
postgres = ["sqlx/postgres"]
rabbitmq = [
    "dep:lapin",
    "dep:futures-lite",
]
redis = [
    "dep:redis",
    "dep:futures-lite",
]
remote-sources = [
    "dep:suppaftp",
    "dep:ssh2",
]
sqlite = [
    "sqlx/sqlite",
    "dep:sqlite-vec",
    "dep:libsqlite3-sys",
]
tensorrt = [
    "docling/tensorrt",
    "docling-pdf/tensorrt",
    "ort?/tensorrt",
    "ort?/copy-dylibs",
]

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

[[bin]]
name = "docling-rag"
path = "src/bin/docling-rag.rs"

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

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

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

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

[dependencies.axum]
version = "0.8"

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

[dependencies.docling]
version = "0.47.3"
features = ["chunking"]

[dependencies.docling-pdf]
version = "0.47.3"

[dependencies.dotenvy]
version = "0.15"

[dependencies.futures-lite]
version = "2"
optional = true

[dependencies.lapin]
version = "2"
optional = true

[dependencies.libsqlite3-sys]
version = "0.30"
optional = true

[dependencies.ort]
version = "2.0.0-rc.12"
features = [
    "std",
    "download-binaries",
    "tls-rustls",
]
optional = true
default-features = false

[dependencies.pulldown-cmark]
version = "0.13"
default-features = false

[dependencies.redis]
version = "0.27"
features = ["tokio-comp"]
optional = true
default-features = false

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.sqlite-vec]
version = "0.1.6"
optional = true

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "tls-rustls",
]
default-features = false

[dependencies.ssh2]
version = "0.9"
optional = true

[dependencies.suppaftp]
version = "6"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokenizers]
version = "0.20"
features = ["onig"]
optional = true
default-features = false

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "fs",
    "time",
    "signal",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

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

[dependencies.zip]
version = "2.2"
features = ["deflate"]
default-features = false

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