second-brain-api 0.13.3

HTTP API server for second-brain: REST endpoints for recall, remember, and ingest
Documentation
# 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.13.3"
build = "build.rs"
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"

[package.metadata.dist]
features = ["self-update"]

[features]
self-update = []

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

[[bin]]
name = "sb-capture-probe"
path = "src/bin/capture_probe.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-snapshot-probe"
path = "src/bin/snapshot_probe.rs"

[[bin]]
name = "sb-synth-store"
path = "src/bin/synth_store.rs"

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

[[example]]
name = "raw_size_probe"
path = "examples/raw_size_probe.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "release_signature"
path = "tests/release_signature.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 = "self_update"
path = "tests/self_update.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.age]
version = "0.12"

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"

[dependencies.bytes]
version = "1"

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

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

[dependencies.fs4]
version = "0.13"

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

[dependencies.libc]
version = "0.2"

[dependencies.lzma-rs]
version = "0.3"

[dependencies.minisign-verify]
version = "0.2"

[dependencies.notify]
version = "7"

[dependencies.openssl-sys]
version = "0.9"
features = ["vendored"]

[dependencies.rand]
version = "0.9"

[dependencies.reqwest]
version = "0.12"
features = ["json"]

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

[dependencies.second-brain-core]
version = "0.13.3"
features = ["encryption"]

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

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.tar]
version = "0.4"

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

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

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

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

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

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

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

[dev-dependencies.minisign]
version = "0.7"

[dev-dependencies.rusqlite]
version = "0.40"
features = ["bundled"]

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