- Replaced serde_json with serde_yaml in all handler endpoints. - This drastically reduces token consumption for large list/graph responses by removing JSON braces and quotes.
79 lines
2.0 KiB
TOML
79 lines
2.0 KiB
TOML
[package]
|
|
name = "mcp-memory-server"
|
|
version = "1.0.0"
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
name = "mcp_memory_server"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.92"
|
|
axum = { version = "0.8", features = ["ws"] }
|
|
clap = { version = "4.6.6", features = ["derive"] }
|
|
dirs = "7.0.0"
|
|
futures-util = "0.3.34"
|
|
redb = "4.3.0"
|
|
reqwest = { version = "0.13", default-features = false, features = ["stream", "json"] }
|
|
schemars = "1.2.2"
|
|
serde = { version = "1.0.229", features = ["derive"] }
|
|
serde_json = "1.0.151"
|
|
tantivy = "0.26.2"
|
|
tokio = { version = "1.53.1", features = ["full"] }
|
|
tracing = "0.1.44"
|
|
tracing-subscriber = "0.3.23"
|
|
uuid = { version = "1.26.0", features = ["v4", "v5"] }
|
|
tracing-appender = "0.2.5"
|
|
rmcp = { version = "3.4.0", features = ["server"] }
|
|
thiserror = "2.0.20"
|
|
tower = { version = "0.5.3", features = ["util"] }
|
|
candle-core = "0.11.0"
|
|
candle-nn = "0.11.0"
|
|
candle-transformers = "0.11.0"
|
|
tokenizers = { version = "0.23.1", default-features = false, features = ["onig"] }
|
|
hf-hub = { version = "1.0.0", features = ["blocking"] }
|
|
arboard = "3.6.1"
|
|
image = "0.25.10"
|
|
base64 = "0.23.1"
|
|
git2 = "0.19.0"
|
|
tree-sitter = "0.23.2"
|
|
tree-sitter-rust = "0.23.3"
|
|
tree-sitter-typescript = "0.23.2"
|
|
tree-sitter-python = "0.23.6"
|
|
tree-sitter-java = "0.23.5"
|
|
tree-sitter-c = "0.24.2"
|
|
tree-sitter-cpp = "0.23.4"
|
|
tree-sitter-go = "0.25.0"
|
|
ignore = "0.4.33"
|
|
notify = "7"
|
|
blake3 = "1.8"
|
|
tokio-stream = { version = "0.1", features = ["sync"] }
|
|
chrono = { version = "0.4.45", features = ["serde"] }
|
|
ocrs = "0.13.1"
|
|
rten = "0.26.0"
|
|
serde_yaml = "0.9.34"
|
|
|
|
[build-dependencies]
|
|
chrono = "0.4.45"
|
|
winres = "0.1.12"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.27.0"
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { version = "0.59.0", features = [
|
|
"Win32_System_DataExchange",
|
|
"Win32_System_Memory",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
"Win32_Foundation",
|
|
"Win32_System_Com",
|
|
] }
|
|
windows = { version = "0.62.2", features = [
|
|
"Foundation",
|
|
"Foundation_Collections",
|
|
"Media_Ocr",
|
|
"Graphics_Imaging",
|
|
"Storage_Streams",
|
|
] }
|