rag-cli 0.3.2

Local-first RAG CLI powered by candle for semantic search over your files
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"
name = "rag-cli"
version = "0.3.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local-first RAG CLI powered by candle for semantic search over your files"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/mathew-cf/rag-cli"

[features]
cuda = [
    "candle-core/cuda",
    "candle-nn/cuda",
    "candle-transformers/cuda",
]

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

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

[dependencies.anyhow]
version = "1"

[dependencies.bincode]
version = "1"

[dependencies.blake3]
version = "1"

[dependencies.candle-core]
version = "0.9"

[dependencies.candle-nn]
version = "0.9"

[dependencies.candle-transformers]
version = "0.9"

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

[dependencies.indicatif]
version = "0.17"

[dependencies.native-tls]
version = "0.2"

[dependencies.safetensors]
version = "0.7"

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

[dependencies.serde_json]
version = "1"

[dependencies.tokenizers]
version = "0.22"
features = ["onig"]
default-features = false

[dependencies.ureq]
version = "2"
features = ["native-tls"]
default-features = false

[dependencies.walkdir]
version = "2"

[target.'cfg(target_os = "macos")'.dependencies.candle-core]
version = "0.9"
features = [
    "metal",
    "accelerate",
]

[target.'cfg(target_os = "macos")'.dependencies.candle-nn]
version = "0.9"
features = [
    "metal",
    "accelerate",
]

[target.'cfg(target_os = "macos")'.dependencies.candle-transformers]
version = "0.9"
features = [
    "metal",
    "accelerate",
]