# 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 = "mneme-mcp"
version = "0.2.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP-native persistent memory tool for AI agents"
readme = "README.md"
keywords = [
    "mcp",
    "memory",
    "ai",
    "agent",
    "embeddings",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "Apache-2.0"
repository = "https://github.com/tr0mb1r/mneme"

[features]
default = []
test-driver = []

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

[[bin]]
name = "mneme"
path = "src/main.rs"

[[bin]]
name = "wal-driver"
path = "src/bin/wal-driver.rs"
required-features = ["test-driver"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.candle-core]
version = "0.10"

[dependencies.candle-nn]
version = "0.10"

[dependencies.candle-transformers]
version = "0.10"

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

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

[dependencies.crc32c]
version = "0.6"

[dependencies.dirs]
version = "5"

[dependencies.flate2]
version = "1"
features = ["rust_backend"]
default-features = false

[dependencies.fs2]
version = "0.4"

[dependencies.hf-hub]
version = "0.5"
features = [
    "ureq",
    "rustls-tls",
]
default-features = false

[dependencies.instant-distance]
version = "0.6"
features = ["with-serde"]

[dependencies.notify]
version = "6"

[dependencies.postcard]
version = "1"
features = ["alloc"]

[dependencies.redb]
version = "2"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.tar]
version = "0.4"
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tokenizers]
version = "0.21"
features = ["onig"]
default-features = false

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "io-util",
    "io-std",
    "sync",
    "signal",
    "fs",
    "time",
]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

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

[dependencies.zstd]
version = "0.13"
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = [
    "plotters",
    "cargo_bench_support",
]
default-features = false

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "io-util",
    "io-std",
    "process",
    "time",
    "sync",
    "fs",
]

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[profile.release]
lto = "thin"
codegen-units = 1
strip = true
