graphrt-rag 0.1.0

Retrieval building blocks for graphrt: embedders, vector stores, hybrid search, reranking, chunking and the knowledge-retrieval node.
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"
name = "graphrt-rag"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Retrieval building blocks for graphrt: embedders, vector stores, hybrid search, reranking, chunking and the knowledge-retrieval node."
homepage = "https://github.com/BimaPangestu28/graphrt"
documentation = "https://docs.rs/graphrt-rag"
readme = "README.md"
keywords = [
    "rag",
    "embeddings",
    "vector-search",
    "bm25",
    "retrieval",
]
categories = [
    "text-processing",
    "database",
]
license = "Apache-2.0"
repository = "https://github.com/BimaPangestu28/graphrt"

[features]
default = [
    "http",
    "qdrant",
    "fs",
    "sqlite",
    "yaml",
    "doc",
]
doc = ["dep:graphrt-doc"]
fs = []
http = [
    "dep:reqwest",
    "dep:rustls",
]
qdrant = [
    "http",
    "dep:sha2",
]
sqlite = ["dep:rusqlite"]
yaml = ["dep:serde-saphyr"]

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

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

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

[dependencies.futures]
version = "0.3"
features = [
    "std",
    "async-await",
]
default-features = false

[dependencies.graphrt-core]
version = "0.1.0"
default-features = false

[dependencies.graphrt-doc]
version = "0.1.0"
features = ["default"]
optional = true
default-features = false

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls-no-provider",
    "json",
]
optional = true
default-features = false

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

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "tls12",
]
optional = true
default-features = false

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

[dependencies.serde-saphyr]
version = "2"
optional = true

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.sha2]
version = "0.11"
optional = true
default-features = false

[dependencies.thiserror]
version = "2"

[dev-dependencies.futures]
version = "0.3"
features = [
    "std",
    "async-await",
    "executor",
]
default-features = false

[dev-dependencies.graphrt-core]
version = "0.1.0"
features = ["tokio"]
default-features = false

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "net",
    "io-util",
    "time",
    "sync",
]
default-features = false

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
indexing_slicing = "warn"
panic = "deny"
print_stdout = "warn"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1