# 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"
version = "0.10.5"
authors = ["Nam Rodriguez <nambok@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A purpose-built database engine for AI agent memory"
readme = "README.md"
keywords = [
    "database",
    "ai",
    "agent",
    "memory",
    "cognitive",
]
categories = ["database-implementations"]
license = "Apache-2.0"
repository = "https://github.com/nambok/mentedb"
resolver = "2"

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

[features]
default = []
enrichment = ["dep:mentedb-extraction"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.mentedb-consolidation]
version = "0.10.5"

[dependencies.mentedb-context]
version = "0.10.5"

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

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

[dependencies.mentedb-extraction]
version = "0.10.5"
optional = true

[dependencies.mentedb-graph]
version = "0.10.5"

[dependencies.mentedb-index]
version = "0.10.5"

[dependencies.mentedb-query]
version = "0.10.5"

[dependencies.mentedb-storage]
version = "0.10.5"

[dependencies.parking_lot]
version = "0.12"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

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

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

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

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

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