-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
73 lines (55 loc) · 1.39 KB
/
Cargo.toml
File metadata and controls
73 lines (55 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[package]
name = "context-memory"
version = "0.1.0"
edition = "2021"
description = "Context-rot-resistant memory MCP server for Claude Code"
license = "MIT"
[[bin]]
name = "context-memory"
path = "src/main.rs"
[[bin]]
name = "benchmark"
path = "benches/effectiveness.rs"
[[bin]]
name = "profile"
path = "benches/profile_search.rs"
[lib]
name = "context_memory"
path = "src/lib.rs"
[dependencies]
# MCP Protocol (official Rust SDK)
rmcp = { version = "0.13", features = ["server", "transport-io", "transport-async-rw", "macros"] }
# CLI argument parsing
clap = { version = "4.4", features = ["derive"] }
# JSON Schema generation (must match rmcp's version)
schemars = "1.2"
# Async runtime
tokio = { version = "1.0", features = ["full"] }
# SQLite with connection pooling
rusqlite = { version = "0.38", features = ["bundled", "functions"] }
r2d2 = "0.8"
r2d2_sqlite = "0.32"
# JSON
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# UUIDs
uuid = { version = "1.0", features = ["v4", "serde"] }
# Date/time
chrono = { version = "0.4", features = ["serde"] }
# Hashing (for content hashes)
sha2 = "0.10"
hex = "0.4"
# Regex for search
regex = "1.10"
# Error handling
thiserror = "2.0"
anyhow = "1.0"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Home directory
dirs = "5.0"
[profile.release]
lto = true
codegen-units = 1
opt-level = 3