# 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 = "brainos-storage"
version = "0.3.0"
authors = ["Keshav Ashiya"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQLite and HNSW vector storage layer for Brain OS"
homepage = "https://github.com/keshavashiya/brain"
readme = false
keywords = [
    "ai",
    "memory",
    "local",
    "mcp",
    "llm",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "MIT"
repository = "https://github.com/keshavashiya/brain"

[features]
default = ["encryption"]
encryption = [
    "dep:aes-gcm",
    "dep:argon2",
]

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

[dependencies.aes-gcm]
version = "0.10"
optional = true

[dependencies.anyhow]
version = "1"

[dependencies.argon2]
version = "0.5"
optional = true

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.rusqlite]
version = "0.39"
features = ["bundled"]

[dependencies.ruvector-core]
version = "2.0.5"
features = [
    "storage",
    "hnsw",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dev-dependencies.tempfile]
version = "3"
