[package] name = "dragon_db" edition = "2021" license = "MIT" version = "0.10.1" readme = "README.md" categories = ["database", "science", "database-implementations"] repository = "https://github.com/portalcorp/dRAGon" description = "An embedding database with helper functions for RAG" authors = ["spikecodes <19519553+spikecodes@users.noreply.github.com>"] keywords = ["database", "nearest-neighbor", "embedding"] [dependencies] anyhow = "1.0.71" serde = "1.0.165" tracing = "0.1.37" tracing-subscriber = { version = "0.3.17", features = ["env-filter", "local-time"] } thiserror = "1.0.40" serde_json = "1.0.99" reqwest = {version = "0.12.5", features = ["blocking", "multipart"]} tiktoken-rs = "0.5.9" docx-rs = "0.4.17" csv = "1.3.0" rocket = {version = "0.5.1", features = ["json"]} fastembed = "3.9.1" tempfile = "3.2" chrono = { version = "0.4.26", features = ["serde"] } uuid = { version = "1.10.0", features = ["v4"] } lazy_static = "1.5.0" utoipa-scalar = { version = "0.1", features = ["rocket"] } utoipa = { version = "4.2.3", features = ["rocket_extras"] } text-splitter = { version = "0.14.1", features = ["tiktoken-rs", "markdown"] } lopdf = "0.33.0" sqlx = {version = "0.8.0", default-features = true, features = ["postgres", "runtime-tokio", "chrono"] } tokio = { version = "1.39.1", features = ["full"] } semver = "1.0.23" zip-extract = "0.1.3" postgresql_embedded = "0.14.2" once_cell = "1.19.0" pgvector = { version = "0.4.0", features = ["sqlx"] } dotenv = "0.15.0" [lib] name = "dragon_db" path = "src/lib.rs" [[bin]] name = "dragon_db" path = "src/main.rs" [profile.release] strip = true # Automatically strip symbols from the binary. opt-level = "z" # Optimize for size. lto = true codegen-units = 1 [target.x86_64-unknown-linux-gnu] pre-build = [ "dpkg --add-architecture $CROSS_DEB_ARCH", "apt-get update && apt-get --assume-yes install libssl-dev:$CROSS_DEB_ARCH" ]