-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
198 lines (169 loc) · 8.74 KB
/
Copy pathCargo.toml
File metadata and controls
198 lines (169 loc) · 8.74 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
190
191
192
193
194
195
196
197
198
[package]
name = "engram"
version = "0.6.3"
edition = "2021"
authors = ["Vincent Palmer <shift@someone.section.me>"]
description = "Distributed memory system for AI agents - Rust implementation"
license = "AGPL-3.0-or-later OR LicenseRef-Commercial"
repository = "https://github.com/vincents-ai/engram"
build = "build.rs"
[dependencies]
# Workspace crate
engram-core = { path = "engram-core", features = ["git"] }
engram-storage = { path = "engram-storage" }
# CLI and argument parsing
clap = { version = "4.4", features = ["derive", "color"] }
anyhow = "1.0"
thiserror = "1.0"
# Serialization and configuration
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
toml = "0.8"
# Date/time handling
chrono = { version = "0.4", features = ["serde"] }
# UUID generation
uuid = { version = "1.6", features = ["v4", "serde"] }
# File system operations
walkdir = "2.4"
dirs = "5.0"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Configuration validation
schemars = { version = "0.8", features = ["derive", "chrono"] }
# BDD Testing Framework
cucumber = "0.20"
futures = "0.3"
async-trait = "0.1"
# Error handling and validation
validator = { version = "0.20", features = ["derive"] }
# SHA-256 hashing
sha2 = "0.10"
digest = "0.10"
# Hex encoding
hex = "0.4"
# HTTP client for Perkeep
reqwest = { version = "0.12", features = ["json", "blocking"] }
# Regular expressions
regex = "1.10"
# Diff / unified diff for skill comparison
similar = "2.6"
# Git integration
# until gix-protocol push + russh transport are integrated into sync module
gix = { version = "0.83", default-features = false, features = ["max-performance-safe", "sha1", "blocking-network-client", "russh-client", "blocking-http-transport-reqwest-rust-tls"] }
# System resource monitoring
sysinfo = "0.32"
# Async runtime
tokio = { version = "1.0", features = ["rt", "rt-multi-thread", "macros", "time"] }
# Vector search (optional)
rusqlite = { version = "0.30", features = ["bundled"], optional = true }
sqlite-vec = { version = "0.1", optional = true }
fastembed = { version = "5.8", optional = true }
ndarray = { version = "0.17", optional = true }
bytemuck = { version = "1.24", optional = true }
# TUI dependencies
crossterm = { version = "0.29", optional = true }
ratatui = { version = "0.30", optional = true }
prettytable-rs = "0.10.0"
[build-dependencies]
chrono = { version = "0.4", features = ["serde"] }
[dev-dependencies]
tempfile = "3.8"
assert_cmd = "2.0"
predicates = "3.0"
proptest = "1"
fastrand = "2"
insta = { version = "1", features = ["filters"] }
[[bin]]
name = "engram"
path = "src/main.rs"
[[bin]]
name = "locus"
path = "src/locus_main.rs"
[[test]]
name = "bdd_runner"
path = "tests/bdd_runner.rs"
harness = false
[[test]]
name = "batch_task_tests"
path = "tests/batch_task_tests.rs"
[lib]
name = "engram"
path = "src/lib.rs"
[features]
default = ["sandbox", "tui"]
sandbox = []
tui = ["crossterm", "ratatui"]
vector-search = ["rusqlite", "sqlite-vec", "fastembed", "ndarray", "bytemuck"]
[workspace]
members = [".", "engram-core", "engram-storage"]
resolver = "2"
# Use our gitoxide fork with russh SSH transport + push module
[patch.crates-io]
gix = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-actor = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-archive = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-attributes = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-bitmap = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-blame = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-chunk = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-command = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-commitgraph = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-config = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-config-value = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-credentials = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-date = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-diff = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-dir = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-discover = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-features = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-fetchhead = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-filter = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-fs = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-fsck = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-glob = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-hash = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-hashtable = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-ignore = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-index = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-lfs = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-lock = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-macros = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-mailmap = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-merge = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-negotiate = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-note = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-object = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-odb = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-pack = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-packetline = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-path = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-pathspec = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-prompt = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-protocol = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-quote = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-rebase = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-ref = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-refspec = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-revision = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-revwalk = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-sec = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-sequencer = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-shallow = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-status = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-submodule = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-tempfile = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-trace = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-transport = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-traverse = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-tui = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-url = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-utils = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-validate = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-worktree = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-worktree-state = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-worktree-stream = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-error = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-imara-diff = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }
gix-tix = { git = "https://github.com/vincents-ai/gitoxide.git", branch = "main" }