-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
153 lines (131 loc) · 4.11 KB
/
Copy pathCargo.toml
File metadata and controls
153 lines (131 loc) · 4.11 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
[package]
name = "hipcortex"
version = "0.5.2"
edition = "2021"
description = "A modular, agentic AI memory engine for reasoning, edge, and multi-agent workflows"
repository = "https://github.com/farmountain/HipCortex"
license = "Apache-2.0"
readme = "README.md"
keywords = ["ai", "memory", "agent", "graph", "reasoning"]
categories = ["science", "algorithms", "data-structures"]
[workspace]
members = ["."]
[dependencies]
axum = { version = "0.6", optional = true }
tokio = { version = "1", features = ["full"], optional = true }
tauri = { version = "1", optional = true }
uuid = { version = "1", features = ["v4", "serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
chrono = { version = "0.4", features = ["serde"] }
clap = { version = "4", features = ["derive"] }
anyhow = "1"
flate2 = "1"
tar = "0.4"
image = { version = "0.24", default-features = false, features = ["png", "jpeg"] }
nalgebra = "0.33"
diesel = { version = "2", features = ["postgres", "sqlite", "serde_json"], optional = true }
reqwest = { version = "0.11", features = ["blocking", "json", "rustls-tls"], default-features = false }
sha2 = "0.10"
hex = "0.4"
aes-gcm = "0.10"
aead = "0.5"
rand = "0.8"
base64 = "0.21"
zstd = "0.13"
lazy_static = "1"
regex = "1"
lru = "0.12"
sled = "0.34"
futures = "0.3"
bytemuck = "1"
petgraph = { version = "0.6", optional = true }
tokio-postgres = { version = "0.7", features = ["with-uuid-1"], optional = true }
neo4rs = { version = "0.9.0-rc.6", features = ["json"], optional = true }
rocksdb = { version = "0.21", optional = true }
wasmtime = { version = "8", optional = true }
wat = { version = "1", optional = true }
mustache = "0.9"
indexmap = "1"
printpdf = "0.3"
rayon = { version = "1", optional = true }
async-trait = { version = "0.1", optional = true }
wgpu = { version = "0.16", optional = true }
tonic = { version = "0.9", features = ["transport"], optional = true }
prost = { version = "0.11", optional = true }
[dev-dependencies]
proptest = "1"
criterion = "0.5"
assert_cmd = "2"
predicates = "3"
pollster = "0.3"
tempfile = "3"
mockito = "1"
approx = "0.5"
axum-test = "12"
[build-dependencies]
tonic-build = { version = "0.9", optional = true }
[[bench]]
name = "temporal_indexer_bench"
harness = false
[[bench]]
name = "symbolic_store_bench"
harness = false
[[bench]]
name = "retrieval_quality_bench"
harness = false
[[bench]]
name = "pipeline_latency_bench"
harness = false
[[bench]]
name = "world_model_bench"
harness = false
[[bench]]
name = "self_model_bench"
harness = false
[[bench]]
name = "coherence_bench"
harness = false
[[bench]]
name = "integration_bench"
harness = false
[[test]]
name = "v040_contract_sit"
path = "tests/integration/v040_contract_sit.rs"
required-features = ["web-server"]
[[bin]]
name = "webserver"
path = "src/bin/webserver.rs"
required-features = ["web-server"]
[[bin]]
name = "migrate"
path = "scripts/migrate.rs"
[[bin]]
name = "import_trace"
path = "scripts/import_trace.rs"
[features]
# Core features - start with petgraph_backend for minimal setup
default = ["petgraph_backend"]
# Web and UI features
web-server = ["axum", "tokio"]
gui = ["tauri"]
# Processing and plugin features
plugin = ["wasmtime", "wat"]
async-store = ["tokio", "async-trait"]
parallel = ["rayon"]
gpu = ["wgpu"]
grpc-server = ["tonic", "prost", "tokio", "tonic-build"]
# Backend storage options
petgraph_backend = ["petgraph"] # In-memory graphs (no external deps)
rocksdb-backend = ["rocksdb"] # Embedded key-value store
sqlite_backend = ["diesel"] # SQLite support (requires SQLite libs)
postgres_backend = ["tokio-postgres", "tokio", "diesel"] # PostgreSQL (requires PG libs)
neo4j_backend = ["neo4rs", "tokio"] # Neo4j support (requires Neo4j server)
# Compatibility features
rustfsm_backend = []
temporal_backend = []
[profile.release]
opt-level = "s" # optimize for size
lto = true # link-time optimization
strip = true # strip symbols
codegen-units = 1 # single codegen unit for better optimization