-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy pathCargo.toml
More file actions
213 lines (186 loc) · 6.53 KB
/
Cargo.toml
File metadata and controls
213 lines (186 loc) · 6.53 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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
[package]
name = "coding-agent-search"
version = "0.2.3"
edition = "2024"
authors = ["Jeffrey Emanuel"]
description = "Unified TUI search over local coding agent histories"
license-file = "LICENSE"
resolver = "2"
repository = "https://github.com/Dicklesworthstone/coding_agent_session_search"
default-run = "cass"
[dependencies]
anyhow = "*"
thiserror = "*"
tracing = "*"
tracing-subscriber = { version = "*", features = ["env-filter", "fmt", "ansi"] }
asupersync = { path = "../asupersync", features = ["test-internals", "tls-native-roots"] }
clap = { version = "*", features = ["derive", "cargo", "env", "unicode", "wrap_help"] }
clap_complete = "*"
clap_mangen = "*"
indicatif = "*"
console = "*"
colored = "*"
serde = { version = "*", features = ["derive"] }
serde_json = "*"
toon = { git = "https://github.com/Dicklesworthstone/toon_rust", rev = "bc3f9da", package = "tru" }
tempfile = "*"
rmp-serde = "*" # MessagePack for binary metadata serialization (Opt 3.1)
toml = "*"
directories = "*"
which = "*"
shell-words = "*"
dotenvy = "*"
notify = "*"
frankensqlite = { path = "../frankensqlite/crates/fsqlite", package = "fsqlite", features = ["fts5"] }
rayon = "*"
crossbeam-channel = "*"
parking_lot = "*"
fs2 = "*"
lru = "0.16"
rustc-hash = "*" # Fast non-cryptographic hashing for cache keys (P1 Opt 1.3), replaces unmaintained fxhash
smallvec = "*" # Stack-allocated small vectors for hot paths (Opt 4.4)
regex = "*"
portable-pty = "*"
# FrankenTUI migration foundation (bead 2noh9.2.1).
# Strategy: pin a Git revision for reproducible CI builds.
ftui = { git = "https://github.com/Dicklesworthstone/frankentui", rev = "7a91089" }
ftui-runtime = { git = "https://github.com/Dicklesworthstone/frankentui", rev = "7a91089", features = ["native-backend", "crossterm-compat"] }
ftui-tty = { git = "https://github.com/Dicklesworthstone/frankentui", rev = "7a91089" }
ftui-extras = { git = "https://github.com/Dicklesworthstone/frankentui", rev = "7a91089", default-features = false, features = ["markdown", "syntax", "charts", "canvas", "theme", "clipboard", "clipboard-fallback", "export", "visual-fx", "forms", "validation", "help"] }
dirs = "*"
walkdir = "*"
glob = "*"
base64 = ">=0.21"
blake3 = "*"
mime_guess = "*"
pulldown-cmark = { version = "*", default-features = false, features = ["html"] }
chrono = { version = "*", features = ["serde"] }
semver = "*"
tracing-appender = "*"
strsim = "*"
once_cell = "*"
syntect = "*"
itertools = "*"
crc32fast = "*"
unicode-normalization = "*"
urlencoding = "*"
half = { version = "*", features = ["bytemuck"] }
memmap2 = "*"
bytemuck = "*"
fastembed = { version = "*", default-features = false, features = ["ort-download-binaries-rustls-tls"] }
frankensearch = { git = "https://github.com/Dicklesworthstone/frankensearch", rev = "3eec663", default-features = false, features = ["hash", "lexical", "ann", "fastembed-reranker"] }
franken-agent-detection = { path = "../franken_agent_detection", features = ["connectors", "cursor", "chatgpt", "opencode", "crush"] }
wide = "*" # Portable SIMD for P0 Opt 2: SIMD dot product
arrayvec = "*" # Stack-based arrays for P1 Opt 1.4: Edge N-gram optimization
bloomfilter = "*" # Probabilistic membership testing for P2 Opt 3.3: Workspace Cache
hnsw_rs = "*" # Opt 9: Approximate Nearest Neighbor with HNSW
ouroboros = "*" # Safe self-referential wrapper for HNSW loader lifetime
# Crypto for ChatGPT encrypted conversations and HTML export encryption
aes-gcm = "*"
ring = "*"
pbkdf2 = "*" # PBKDF2 key derivation for Web Crypto compatible HTML export encryption
# SHA256 hashing for model verification
sha2 = "*"
hex = "*"
# Interactive terminal prompts for setup wizard
dialoguer = "*"
# SFTP fallback for sync when rsync is unavailable
ssh2 = "*"
# Statically link OpenSSL so release binaries don't require system libssl.so.3
openssl = { version = "*", features = ["vendored"] }
argon2 = "*"
hkdf = "*"
zeroize = { version = "*", features = ["derive"] }
flate2 = "*"
rand = "0.10"
# QR code generation (optional, for recovery secret QR codes)
qrcode = { version = "*", optional = true }
image = { version = "*", optional = true, default-features = false, features = ["png"] }
unicode-width = "0.2.2"
# rusqlite used for FTS5 search fallback path: frankensqlite's in-memory FTS5
# cannot read on-disk shadow tables, so we need stock SQLite for MATCH queries.
rusqlite = { version = "*", features = ["bundled", "modern_sqlite"] }
# macOS keychain access (optional, for ChatGPT decryption)
[target.'cfg(target_os = "macos")'.dependencies]
security-framework = "*"
[features]
default = ["qr", "encryption"]
qr = ["dep:qrcode", "dep:image"]
encryption = [] # Enables HTML export encryption (deps already included for ChatGPT)
backtrace = []
[build-dependencies]
vergen = { version = "*", default-features = false, features = ["build", "cargo"] }
[dev-dependencies]
assert_cmd = "*"
predicates = "*"
insta = { version = "*", features = ["yaml", "json"] }
criterion = "*"
once_cell = "*"
serial_test = "*"
proptest = "*"
serde_yaml = "*"
rand = "0.10"
rand_chacha = "0.10"
# frankensqlite compat gate tests (bead 3vvqa) — fsqlite-types needed for SqliteValue
# enum variants in test assertions. The main fsqlite dep is available as `frankensqlite`.
fsqlite-types = { path = "../frankensqlite/crates/fsqlite-types" }
[[bin]]
name = "cass"
path = "src/main.rs"
[profile.release]
lto = true
codegen-units = 1
strip = true
panic = "abort"
opt-level = "z"
# Optimized build with symbols for profiling (perf/flamegraphs).
# Usage: RUSTFLAGS="-C force-frame-pointers=yes" cargo build --profile profiling
[profile.profiling]
inherits = "release"
debug = true
strip = false
[patch."https://github.com/Dicklesworthstone/asupersync"]
asupersync = { path = "../asupersync" }
franken-decision = { path = "../asupersync/franken_decision" }
franken-evidence = { path = "../asupersync/franken_evidence" }
franken-kernel = { path = "../asupersync/franken_kernel" }
[workspace.metadata.dist]
targets = ["x86_64-unknown-linux-gnu"]
installers = ["shell", "powershell"]
ci = ["github"]
[[bench]]
name = "index_perf"
harness = false
[[bench]]
name = "runtime_perf"
harness = false
[[bench]]
name = "search_perf"
harness = false
[[bench]]
name = "crypto_perf"
harness = false
[[bench]]
name = "db_perf"
harness = false
[[bench]]
name = "export_perf"
harness = false
[[bench]]
name = "cache_micro"
harness = false
[[bench]]
name = "regex_cache"
harness = false
[[bench]]
name = "integration_regression"
harness = false
[[test]]
name = "docs"
path = "tests/docs/mod.rs"
[[test]]
name = "upgrade"
path = "tests/upgrade/mod.rs"
[[test]]
name = "recovery"
path = "tests/recovery/mod.rs"