# 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"
name = "mentedb-server"
version = "0.10.7"
authors = ["Nam Rodriguez <nambok@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MenteDB server with REST API, WebSocket, auth, and observability"
readme = "README.md"
keywords = [
    "database",
    "server",
    "api",
    "ai",
    "agent",
]
categories = [
    "database-implementations",
    "web-programming::http-server",
]
license = "Apache-2.0"
repository = "https://github.com/nambok/mentedb"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
local-embeddings = ["mentedb-embedding/local"]

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"
features = ["ws"]

[dependencies.bytes]
version = "1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.jsonwebtoken]
version = "10"
features = ["rust_crypto"]

[dependencies.mentedb]
version = "0.10.7"

[dependencies.mentedb-cognitive]
version = "0.10.7"

[dependencies.mentedb-core]
version = "0.10.7"

[dependencies.mentedb-embedding]
version = "0.10.7"

[dependencies.mentedb-extraction]
version = "0.10.7"

[dependencies.prost]
version = "0.13"

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

[dependencies.serde_json]
version = "1"

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

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

[dependencies.tonic]
version = "0.13"

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
    "compression-gzip",
]

[dependencies.tracing]
version = "0.1"

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

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

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.hyper]
version = "1"

[dev-dependencies.mentedb-extraction]
version = "0.10.7"

[dev-dependencies.serde_json]
version = "1"

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

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

[dev-dependencies.tower]
version = "0.5"
features = ["util"]

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