[package]
edition = "2024"
name = "second-brain-api"
version = "0.9.0"
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-bench"
path = "src/bin/recall_bench.rs"
[[bin]]
name = "sb-recall-eval"
path = "src/bin/recall_eval.rs"
[[bin]]
name = "sb-synth-store"
path = "src/bin/synth_store.rs"
[[bin]]
name = "second-brain-api"
path = "src/main.rs"
[[test]]
name = "associate"
path = "tests/associate.rs"
[[test]]
name = "context"
path = "tests/context.rs"
[[test]]
name = "forget"
path = "tests/forget.rs"
[[test]]
name = "heap_stats"
path = "tests/heap_stats.rs"
[[test]]
name = "ingest"
path = "tests/ingest.rs"
[[test]]
name = "recall"
path = "tests/recall.rs"
[[test]]
name = "remember"
path = "tests/remember.rs"
[[test]]
name = "repairs"
path = "tests/repairs.rs"
[[test]]
name = "routes_smoke"
path = "tests/routes_smoke.rs"
[[test]]
name = "status"
path = "tests/status.rs"
[dependencies.anyhow]
version = "1"
[dependencies.axum]
version = "0.8"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.fs4]
version = "0.13"
[dependencies.libc]
version = "0.2"
[dependencies.notify]
version = "7"
[dependencies.openssl-sys]
version = "0.9"
features = ["vendored"]
[dependencies.rand]
version = "0.9"
[dependencies.second-brain-adapters]
version = "0.9.0"
[dependencies.second-brain-core]
version = "0.9.0"
[dependencies.second-brain-sync]
version = "0.9.0"
[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",
]
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.rusqlite]
version = "0.40"
features = ["bundled"]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]