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
# EdgeVec Cargo Configuration
# =============================
# Architecture: APPROVED (Gate 1 Complete: 2025-12-05)
# Planning: Week 1 Day 1 — Repository Initialization
#
# IMPLEMENTED: W1.D1 — Basic dependencies for testing infrastructure
[]
= "edgevec"
= "0.3.0"
= "2021"
= "1.70"
= "High-performance embedded vector database for Browser, Node, and Edge"
= "MIT"
= "https://github.com/matte1782/edgevec"
= ["vector", "database", "wasm", "hnsw", "similarity-search"]
= ["database", "wasm", "algorithms"]
= false # Disable auto-detection of bench targets (recall_bench is a [[bin]])
[]
= "edgevec"
= ["lib", "cdylib"]
# =============================================================================
# DEPENDENCIES — Day 1: Core Infrastructure
# =============================================================================
[]
= { = "1.0", = ["serde"] }
# Error handling (required by Day 1 spec)
= "1.0"
# Serialization (required by Day 1 spec)
= { = "1.0", = ["derive"] }
# Safe type casting for WASM (required by Day 1 spec)
= { = "1.14", = ["derive"] }
= "1.3"
# Random Number Generation (Required for HNSW construction)
= { = "0.8", = ["small_rng"] }
= { = "0.3", = ["serde1"] }
# Serde helpers for binary efficiency
= "0.11"
= { = "1.0", = ["use-std"] }
# WASM Dependencies (W4.1)
= "0.2"
= "0.4"
= "0.3"
= { = "0.3", = ["console", "Window", "Performance", "IdbFactory", "IdbDatabase", "IdbTransaction", "IdbTransactionMode", "IdbObjectStore", "IdbRequest", "DomException"] }
= "0.6"
= "0.1"
= "1.0"
= "0.4"
= { = "0.2.14", = ["js"] }
= "1.0.4"
# =============================================================================
# DEV DEPENDENCIES — Day 1: Testing Infrastructure
# =============================================================================
[]
# Property-based testing (required for "Nvidia Grade" verification)
= { = "=1.4.0", = false, = ["std"] }
# WASM testing
= "0.3"
= "1.0"
# Benchmarking framework (required for performance budgets)
= { = "0.5", = ["html_reports"], = false }
= "=3.10.0"
[[]]
= "distance_bench"
= false
[[]]
= "persistence_bench"
= false
[[]]
= "storage_bench"
= false
[[]]
= "search_bench"
= false
[[]]
= "hnsw_init_bench"
= false
[[]]
= "insert_bench"
= false
[[]]
= "simd_bench"
= false
[[]]
= "delete_bench"
= false
[[]]
= "scaling_bench"
= false
[[]]
= "quant_bench"
= false
[[]]
= "memory_bench"
= false
[[]]
= "bench_quantization"
= false
[[]]
= "validation"
= false
[[]]
= "batch_vs_sequential"
= false
[[]]
= "tombstone_bench"
= false
[[]]
= "batch_insert"
# [[bin]]
# name = "recall_bench"
# path = "benches/recall_bench.rs"
# Note: autobenches = false in [package] prevents dual target registration
# TEMPORARILY DISABLED: Linker error with cdylib target - needs investigation
# =============================================================================
# FUTURE DEPENDENCIES (Not in Day 1 scope)
# =============================================================================
# To be added in Week 1 Day 3-5:
# - rand / rand_chacha (deterministic RNG for tests)
# =============================================================================
# BUILD PROFILES
# =============================================================================
[]
= false
[]
= 3 # Performance First (was "z" for size)
= true # Link-time optimization
= 1 # Single codegen unit for maximum optimization
= true # Strip symbols for smaller binary
[]
= "release"
= "z" # Optimize for size in WASM (changed from "s" to match Day 1 spec)
[]
= "release"
= 3 # Optimize for speed during benchmarks
= true # Include debug info for profiling
# =============================================================================
# FEATURES (Minimal set for Day 1)
# =============================================================================
[]
= []
= []
# =============================================================================
# CONFIGURATION STATUS
# =============================================================================
# ✅ Architecture: APPROVED (2025-12-05)
# ✅ Planning: Week 1 Day 1 Tasks APPROVED
# ✅ Dependencies: Day 1 spec (thiserror, serde, bytemuck)
# ✅ Dev Dependencies: Day 1 spec (proptest, criterion)
# ✅ Build Profile: Performance (opt-level = 3, lto = true)
#
# Next: Day 2-5 will add fuzz infrastructure and additional test harness
# =============================================================================