mempal 0.5.2

Project memory for coding agents. Single binary, hybrid search, knowledge graph.
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"
rust-version = "1.85"
name = "mempal"
version = "0.5.2"
build = false
exclude = [
    ".claude/**",
    ".mcp.json",
    "AGENTS.md",
    "CLAUDE.md",
    "hooks/**",
    "specs/**",
    "docs/plans/**",
    "books/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Project memory for coding agents. Single binary, hybrid search, knowledge graph."
homepage = "https://github.com/ZhangHanDong/mempal"
documentation = "https://github.com/ZhangHanDong/mempal"
readme = "README.md"
keywords = [
    "memory",
    "mcp",
    "sqlite",
    "agents",
    "search",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/ZhangHanDong/mempal"

[features]
default = ["model2vec"]
model2vec = ["dep:model2vec-rs"]
onnx = [
    "dep:ort",
    "dep:tokenizers",
]
rest = [
    "dep:axum",
    "dep:tower",
    "dep:tower-http",
    "model2vec",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

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

[dependencies.bimap]
version = "0.6"

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

[dependencies.jieba-rs]
version = "0.8"

[dependencies.model2vec-rs]
version = "0.1"
optional = true

[dependencies.ort]
version = "2.0.0-rc.9"
optional = true

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.rmcp]
version = "1.3.0"
features = [
    "server",
    "macros",
    "schemars",
    "transport-async-rw",
    "transport-io",
]

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.sqlite-vec]
version = "0.1.9"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

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

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

[dependencies.toml]
version = "0.8"

[dependencies.tower]
version = "0.5"
optional = true

[dependencies.tower-http]
version = "0.6"
features = ["cors"]
optional = true

[dev-dependencies.axum]
version = "0.8"

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

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

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true