mcp-memory 0.3.0

MCP server for knowledge graph memory — entities, relations, and observations persisted via custom binary log
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"
name = "mcp-memory"
version = "0.3.0"
authors = ["Piyush"]
build = false
exclude = [
    "/target",
    "OPTIMIZATION_PLAN.md",
    "*.bin",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP server for knowledge graph memory — entities, relations, and observations persisted via custom binary log"
readme = "README.md"
keywords = [
    "mcp",
    "knowledge-graph",
    "memory",
    "llm",
    "agent",
]
categories = [
    "database-implementations",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/corporatepiyush/mcp-memory"

[features]
cache_align = []

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

[[bin]]
name = "mcp-memory"
path = "src/main.rs"

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

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

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

[dependencies.ahash]
version = "0.8"

[dependencies.anyhow]
version = "1.0"

[dependencies.axum]
version = "0.8"

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

[dependencies.futures]
version = "0.3"

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.41"
features = [
    "macros",
    "rt-multi-thread",
    "io-std",
    "io-util",
    "sync",
    "net",
]

[dependencies.tracing]
version = "0.1"

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

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

[dev-dependencies.rand]
version = "0.8"
features = ["small_rng"]

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

[lints.clippy]
box_collection = "warn"
boxed_local = "warn"
cast_lossless = "warn"
implicit_clone = "warn"
inefficient_to_string = "warn"
iter_overeager_cloned = "warn"
large_enum_variant = "warn"
large_stack_frames = "warn"
manual_filter_map = "warn"
manual_find_map = "warn"
manual_memcpy = "warn"
missing_const_for_fn = "warn"
mutex_atomic = "warn"
needless_pass_by_value = "warn"
option_option = "warn"
ptr_arg = "warn"
redundant_clone = "warn"
slow_vector_initialization = "warn"
string_add_assign = "warn"
trivially_copy_pass_by_ref = "warn"
unnecessary_cast = "warn"
unnecessary_to_owned = "warn"
useless_vec = "warn"
vec_init_then_push = "warn"

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