# 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"
name = "mentisdb"
version = "0.8.2"
authors = ["Angel Leon <gubatron@gmail.com>"]
build = false
exclude = [
    "data/",
    "docs/",
    "lme-benches/",
    ".fastembed_cache/",
    ".github/",
    "start_mentisdbd",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Semantic, hash-chained durable memory for long-running and multi-agent systems."
documentation = "https://docs.rs/mentisdb/latest/mentisdb/"
readme = "README.md"
keywords = [
    "agents",
    "memory",
    "event-sourcing",
    "llm",
    "orchestration",
]
categories = [
    "data-structures",
    "development-tools",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/CloudLLM-ai/mentisdb"

[features]
default = [
    "server",
    "startup-sound",
]
local-embeddings = [
    "dep:fastembed",
    "dep:rustls",
]
server = [
    "dep:axum",
    "dep:env_logger",
    "dep:log",
    "dep:tokio",
    "mcp/server",
    "dep:rcgen",
    "dep:axum-server",
    "dep:rustls-pemfile",
    "dep:reqwest",
    "dep:rustls",
]
startup-sound = ["dep:rodio"]

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

[[bin]]
name = "mentisdbd"
path = "src/bin/mentisdbd.rs"
required-features = ["server"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.axum]
version = "0.8.8"
optional = true

[dependencies.axum-server]
version = "0.8"
features = ["tls-rustls"]
optional = true

[dependencies.bincode]
version = "2.0.1"
features = ["serde"]

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

[dependencies.crossterm]
version = "0.28"

[dependencies.dashmap]
version = "6"

[dependencies.diffy]
version = "0.4"

[dependencies.ed25519-dalek]
version = "2"
features = ["alloc"]

[dependencies.env_logger]
version = "0.11.8"
optional = true

[dependencies.fastembed]
version = "5.13.1"
optional = true

[dependencies.log]
version = "0.4.28"
optional = true

[dependencies.mcp]
version = "0.1.0"
package = "cloudllm_mcp"

[dependencies.rcgen]
version = "0.14"
optional = true

[dependencies.rodio]
version = "0.22"
optional = true

[dependencies.rust-stemmers]
version = "1"

[dependencies.rustls]
version = "0.23"
features = ["ring"]
optional = true

[dependencies.rustls-pemfile]
version = "2"
optional = true

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sha2]
version = "0.10.9"

[dependencies.subtle]
version = "2.6"

[dependencies.tokio]
version = "1.50.0"
features = ["full"]
optional = true

[dependencies.toml_edit]
version = "0.22.27"

[dependencies.ureq]
version = "2"
features = ["json"]

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

[dev-dependencies.bincode]
version = "2.0.1"
features = ["serde"]

[dev-dependencies.chrono]
version = "0.4.44"
features = ["serde"]

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

[dev-dependencies.ed25519-dalek]
version = "2"
features = ["alloc"]

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.sha2]
version = "0.10.9"

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

[dev-dependencies.tower]
version = "0.5.3"
features = ["util"]

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

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

[target."cfg(unix)".dependencies.reqwest]
version = "0.13.2"
features = [
    "json",
    "rustls",
]
optional = true
default-features = false

[target."cfg(windows)".dependencies.reqwest]
version = "0.13.2"
features = [
    "json",
    "native-tls",
]
optional = true
default-features = false
