# 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 = "2021"
rust-version = "1.91"
name = "brainos-hippocampus"
version = "0.5.0"
authors = ["Keshav Ashiya"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Episodic and semantic memory engine with hybrid search for Brain OS"
homepage = "https://github.com/keshavashiya/brain"
readme = false
keywords = [
    "ai",
    "memory",
    "local",
    "mcp",
    "llm",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "MIT"
repository = "https://github.com/keshavashiya/brain"

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

[[bench]]
name = "consolidation"
path = "benches/consolidation.rs"
harness = false

[[bench]]
name = "embedding"
path = "benches/embedding.rs"
harness = false

[[bench]]
name = "recall"
path = "benches/recall.rs"
harness = false

[dependencies.async-trait]
version = "0.1"

[dependencies.brain]
version = "0.5.0"
package = "brainos-core"

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

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "stream",
    "blocking",
    "query",
    "form",
]

[dependencies.rusqlite]
version = "0.39"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1"

[dependencies.storage]
version = "0.5.0"
default-features = false
package = "brainos-storage"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

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

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

[dev-dependencies.storage]
version = "0.5.0"
default-features = false
package = "brainos-storage"

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

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

[lints.clippy]
large_enum_variant = "allow"
module_inception = "allow"
result_large_err = "allow"
too_many_arguments = "allow"
type_complexity = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rust]
unused_must_use = "deny"
