# 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 = "dragon_db" version = "0.10.1" authors = ["spikecodes <19519553+spikecodes@users.noreply.github.com>"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An embedding database with helper functions for RAG" readme = "README.md" keywords = [ "database", "nearest-neighbor", "embedding", ] categories = [ "database", "science", "database-implementations", ] license = "MIT" repository = "https://github.com/portalcorp/dRAGon" [profile.release] opt-level = "z" lto = true codegen-units = 1 strip = true [lib] name = "dragon_db" path = "src/lib.rs" [[bin]] name = "dragon_db" path = "src/main.rs" [[test]] name = "test_db_postgres" path = "tests/test_db_postgres.rs" [[test]] name = "test_server" path = "tests/test_server.rs" [dependencies.anyhow] version = "1.0.71" [dependencies.chrono] version = "0.4.26" features = ["serde"] [dependencies.csv] version = "1.3.0" [dependencies.docx-rs] version = "0.4.17" [dependencies.dotenv] version = "0.15.0" [dependencies.fastembed] version = "3.9.1" [dependencies.lazy_static] version = "1.5.0" [dependencies.lopdf] version = "0.33.0" [dependencies.once_cell] version = "1.19.0" [dependencies.pgvector] version = "0.4.0" features = ["sqlx"] [dependencies.postgresql_embedded] version = "0.14.2" [dependencies.reqwest] version = "0.12.5" features = [ "blocking", "multipart", ] [dependencies.rocket] version = "0.5.1" features = ["json"] [dependencies.semver] version = "1.0.23" [dependencies.serde] version = "1.0.165" [dependencies.serde_json] version = "1.0.99" [dependencies.sqlx] version = "0.8.0" features = [ "postgres", "runtime-tokio", "chrono", ] default-features = true [dependencies.tempfile] version = "3.2" [dependencies.text-splitter] version = "0.14.1" features = [ "tiktoken-rs", "markdown", ] [dependencies.thiserror] version = "1.0.40" [dependencies.tiktoken-rs] version = "0.5.9" [dependencies.tokio] version = "1.39.1" features = ["full"] [dependencies.tracing] version = "0.1.37" [dependencies.tracing-subscriber] version = "0.3.17" features = [ "env-filter", "local-time", ] [dependencies.utoipa] version = "4.2.3" features = ["rocket_extras"] [dependencies.utoipa-scalar] version = "0.1" features = ["rocket"] [dependencies.uuid] version = "1.10.0" features = ["v4"] [dependencies.zip-extract] version = "0.1.3" [target.x86_64-unknown-linux-gnu]