# 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 = "2024"
rust-version = "1.85"
name = "sochdb-grpc"
version = "2.0.6"
authors = ["Sushanth <sushanth@sochdb.dev>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SochDB gRPC services for cross-language clients (Thick Server / Thin Client architecture)"
homepage = "https://sochdb.dev"
documentation = "https://sochdb.dev"
readme = "README.md"
keywords = [
    "database",
    "llm",
    "ai",
    "vector-search",
    "embedded",
]
categories = [
    "database-implementations",
    "data-structures",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/sochdb/sochdb"
resolver = "2"

[features]
async = []
default = []

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

[[bin]]
name = "sochdb-grpc-server"
path = "src/main.rs"

[[test]]
name = "context_memory_integration"
path = "tests/context_memory_integration.rs"

[dependencies.argon2]
version = "0.5"

[dependencies.base64]
version = "0.22"

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

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.dashmap]
version = "5.5"

[dependencies.futures-util]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.jsonwebtoken]
version = "9.3"

[dependencies.lazy_static]
version = "1.4"

[dependencies.num_cpus]
version = "1.16"

[dependencies.parking_lot]
version = "0.12"

[dependencies.prometheus]
version = "0.13"

[dependencies.prost]
version = "0.13"

[dependencies.rand]
version = "0.8"

[dependencies.rayon]
version = "1.10"

[dependencies.regex]
version = "1.10"

[dependencies.ring]
version = "0.17"

[dependencies.rustls-pemfile]
version = "2.2"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.sochdb-core]
version = "2.0.6"
features = ["analytics"]

[dependencies.sochdb-index]
version = "2.0.6"

[dependencies.sochdb-kernel]
version = "2.0.6"

[dependencies.sochdb-memory]
version = "2.0.6"

[dependencies.sochdb-query]
version = "2.0.6"

[dependencies.sochdb-storage]
version = "2.0.6"

[dependencies.sochdb-vector]
version = "2.0.6"

[dependencies.thiserror]
version = "1.0"

[dependencies.tiny_http]
version = "0.12"

[dependencies.tokio]
version = "1.35"
features = [
    "rt-multi-thread",
    "signal",
    "macros",
    "sync",
    "time",
]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tokio-tungstenite]
version = "0.24"

[dependencies.tonic]
version = "0.13"
features = [
    "tls-ring",
    "transport",
]

[dependencies.tonic-health]
version = "0.13"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.uuid]
version = "1.0"
features = ["v4"]

[build-dependencies.tonic-build]
version = "0.13"
