Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
189 lines (166 loc) · 5.02 KB
/
Copy pathCargo.toml
File metadata and controls
189 lines (166 loc) · 5.02 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
[package]
autobins = false
name = "membrick"
version = "0.10.4"
edition = "2021"
description = "Persistent memory layer for AI coding agents — MCP server with current-state retrieval and supersession tracking"
license = "Apache-2.0"
repository = "https://github.com/RooAGI/Membrick"
homepage = "https://www.rooagi.com"
readme = "README.md"
keywords = ["agent-memory", "mcp", "knowledge-base", "AI", "agents"]
categories = ["text-processing", "command-line-utilities"]
exclude = [
"lint-AI",
"benchmark/**",
"bindings/**",
"charts/**",
"comparison/**",
"deploy/**",
"docs/**",
".github/**",
"metrics/**",
"scripts/**",
"site/**",
"vendor/**",
"docker-compose.yml",
"mkdocs.yml",
"package-lock.json",
"requirements-docs.txt",
]
[lib]
name = "membrick"
path = "src/lib.rs"
crate-type = ["rlib", "cdylib"]
[dependencies]
membrick-extension-api = "0.2"
clap = { version = "4.4.18", features = ["derive"] }
serde = { version = "1", features = ["derive", "rc"] }
serde_json = "1"
zstd = { version = "0.14", default-features = false }
tokenizers = "0.20"
toml = "0.8"
toml_edit = "0.22"
walkdir = "2"
notify = "8.2.0"
notify-debouncer-full = "0.7.0"
regex = "1"
roaring = "0.10"
anyhow = "1"
axum = "0.7"
hyper = { version = "1", features = ["client", "server", "http1"] }
hyper-util = { version = "0.1", features = ["tokio"] }
http-body-util = "0.1"
futures-util = { version = "0.3", default-features = false }
tokio = { version = "1", features = ["macros", "rt-multi-thread", "net", "sync", "time", "signal"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", default-features = false, features = ["fmt", "registry", "std"] }
tower = { version = "0.5", features = ["limit", "timeout"] }
jsonwebtoken = "9"
aho-corasick = "1"
chrono = { version = "0.4", default-features = false, features = ["std"] }
comrak = { version = "0.20", default-features = false }
scraper = { version = "0.20", default-features = false }
Inflector = "0.11"
unicode-normalization = "0.1"
deunicode = "1"
rust-stemmers = "1"
petgraph = "0.5"
tantivy = "0.25.0"
oxicode = { version = "0.2.6", features = ["serde"] }
text2num = "2.8"
thesaurus = "0.5"
temps = { version = "3", features = ["chrono"] }
fuzzydate = "0.4.1"
console = { version = "0.16.3", features = ["std"] }
sha2 = "0.10"
serde_jcs = "0.2.0"
ed25519-dalek = "2.2"
semver = "1"
fs4 = "0.13.1"
rayon = "1.11"
libflate = "1.4"
pyo3 = { version = "0.29", optional = true }
reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "rustls-tls"] }
self_update = { version = "1.3", default-features = false, features = ["reqwest", "rustls", "github", "checksums"] }
uuid = { version = "1", features = ["v4"] }
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[features]
default = ["heuristic-query-semantics", "agent-integrations"]
heuristic-query-semantics = []
agent-integrations = ["claude-code", "codex", "gemini-cli", "agy", "muse-code", "openclaw", "hermes", "roo-runtime"]
# Tests that need the Flowboard Board/Post and FlowRun extensions linked in.
# Membrick no longer depends on Flowboard, so these stay off.
flowboard-tests = []
claude-code = []
codex = []
gemini-cli = []
agy = []
muse-code = []
openclaw = []
hermes = []
roo-runtime = []
python = ["dep:pyo3"]
experimental = []
[[bin]]
name = "membrick"
path = "src/main.rs"
# Keep existing provider configurations working after the product rename.
[[bin]]
name = "lint-ai"
path = "src/legacy_main.rs"
[[bin]]
name = "corpus_scale_benchmark"
path = "src/bin/launchers/corpus_scale_benchmark.rs"
[[bin]]
name = "haystack_indexstore_benchmark"
path = "src/bin/launchers/haystack_indexstore_benchmark.rs"
[[bin]]
name = "haystack_scoped_benchmark"
path = "src/bin/launchers/haystack_scoped_benchmark.rs"
[[bin]]
name = "jevbench_case_classifier"
path = "src/bin/launchers/jevbench_case_classifier.rs"
[[bin]]
name = "feedback_eval"
path = "src/bin/feedback_eval.rs"
required-features = ["experimental"]
[[bin]]
name = "locomo_benchmark"
path = "src/bin/launchers/locomo_benchmark.rs"
[[bin]]
name = "locomo_benchmark_search_server"
path = "src/bin/launchers/locomo_benchmark_search_server.rs"
required-features = ["agent-integrations"]
[[bin]]
name = "project_memory_recency_benchmark"
path = "src/bin/launchers/project_memory_recency_benchmark.rs"
[[bin]]
name = "recency_benchmark"
path = "src/bin/launchers/recency_benchmark.rs"
[[bin]]
name = "refresh_scaling_benchmark"
path = "src/bin/launchers/refresh_scaling_benchmark.rs"
[[bin]]
name = "segment_scoped_benchmark"
path = "src/bin/launchers/segment_scoped_benchmark.rs"
required-features = ["experimental"]
[[bin]]
name = "server"
path = "src/bin/launchers/server.rs"
[[bin]]
name = "session_ab_benchmark"
path = "src/bin/launchers/session_ab_benchmark.rs"
[[bin]]
name = "validate_corpus"
path = "src/bin/launchers/validate_corpus.rs"
[[bin]]
name = "query_repl"
path = "src/bin/launchers/query_repl.rs"
[dev-dependencies]
# Only the SIGKILL crash test needs raw syscalls now; the lock itself is std.
libc = "0.2"
linkme = "0.3"
[patch.crates-io]
lru = { path = "vendor/lru" }