# 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 = "second-brain-api"
version = "0.5.3"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP API server for second-brain: REST endpoints for recall, remember, and ingest"
readme = false
keywords = [
    "memory",
    "api",
    "knowledge-graph",
    "ai-agents",
]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://github.com/Anyesh/second-brain"
resolver = "2"

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

[[bin]]
name = "sb-recall-eval"
path = "src/bin/recall_eval.rs"

[[bin]]
name = "second-brain-api"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"

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

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.notify]
version = "7"

[dependencies.rand]
version = "0.9"

[dependencies.second-brain-adapters]
version = "0.5.3"

[dependencies.second-brain-core]
version = "0.5.3"

[dependencies.second-brain-sync]
version = "0.5.3"

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

[dependencies.serde_json]
version = "1"

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

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

[dependencies.tracing]
version = "0.1"

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

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