# 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 = "mini-rag" version = "0.2.3" authors = ["Simone Margaritelli "] description = "A simple, 100% Rust implementation of a vector storage database with on disk persistency." homepage = "https://github.com/evilsocket/mini-rag" readme = "README.md" keywords = [ "vector", "vectors", "database", "rag", "persistent", ] license = "GPL-3.0" repository = "https://github.com/evilsocket/mini-rag" [profile.release] lto = true codegen-units = 1 panic = "abort" strip = true [dependencies.anyhow] version = "1.0.86" [dependencies.async-trait] version = "0.1.80" [dependencies.bitcode] version = "0.6.0" features = ["serde"] [dependencies.glob] version = "0.3.1" [dependencies.log] version = "0.4.22" [dependencies.lopdf] version = "0.32.0" optional = true [dependencies.rayon] version = "1.10.0" [dependencies.serde] version = "1.0.203" features = ["derive"] [dependencies.sha256] version = "1.5.0" [dependencies.stringreader] version = "0.1.1" optional = true [dev-dependencies.env_logger] version = "0.11.3" [dev-dependencies.ollama-rs] version = "0.2.0" [dev-dependencies.tokio] version = "1.38.0" features = [ "macros", "rt", "rt-multi-thread", ] [features] default = ["pdf"] pdf = [ "dep:lopdf", "dep:stringreader", ]