ragrig-gpui 0.5.0

Reusable GPUI components for Ragrig RAG chat, citations, and reference ingestion
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.97.1"
name = "ragrig-gpui"
version = "0.5.0"
build = false
exclude = ["test_library/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reusable GPUI components for Ragrig RAG chat, citations, and reference ingestion"
homepage = "https://github.com/schmettow/ragrig-gpui"
readme = "README.md"
keywords = [
    "gpui",
    "rag",
    "ui",
    "chat",
    "llm",
]
categories = [
    "gui",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/schmettow/ragrig-gpui"

[features]
default = ["ragrig"]
grobid = [
    "dep:grobid-bibtex",
    "dep:biblatex",
    "dep:bollard",
    "dep:reqwest",
    "dep:futures-util",
    "ragrig",
]
ragrig = [
    "dep:ragrig",
    "dep:tokio",
]

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

[[example]]
name = "gallery"
path = "examples/gallery.rs"
test = true

[[example]]
name = "ragchat"
path = "examples/ragchat.rs"
required-features = ["ragrig"]

[[example]]
name = "spike"
path = "examples/spike.rs"
test = true

[dependencies.async-channel]
version = "2"

[dependencies.biblatex]
version = "0.12"
optional = true

[dependencies.blake3]
version = "1.5"

[dependencies.bollard]
version = "0.21"
optional = true

[dependencies.comrak]
version = "0.22"

[dependencies.dirs]
version = "5"

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

[dependencies.gpui-kit]
version = "0.7.3"

[dependencies.grobid-bibtex]
version = "0.3"
features = ["pipeline"]
optional = true

[dependencies.ragrig]
version = "1.2"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "sync",
    "time",
    "net",
    "io-util",
]
optional = true

[dev-dependencies.anyhow]
version = "1"

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

[dev-dependencies.gpui-kit]
version = "0.7.3"
features = ["test-support"]

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