@@ -46,6 +46,7 @@ bench = [] # Benchmark suite (comparison vs Qdrant/Milvus)
4646flight = [" arrow-flight" , " tonic" , " prost" ] # Arrow Flight MCP server
4747crewai = [" flight" ] # crewAI orchestration (A2A, agent cards, thinking templates)
4848json_fallback = [] # Legacy JSON MCP types (backwards compat)
49+ rustynum = [" dep:rustynum-rs" ] # AVX-512 VPOPCNTDQ + VNNI via rustynum
4950
5051# Vendor integrations — uncommented by Dockerfile presets at build time.
5152# Require repos cloned into vendor/ and dependency lines below uncommented.
@@ -57,7 +58,7 @@ json_fallback = [] # Legacy JSON MCP types (backwards
5758full = [
5859 " simd" , " parallel" , " python" ,
5960 " codebook" , " hologram" , " spo" , " compress" , " quantum" ,
60- " lancedb" , " neo4j" , " redis"
61+ " lancedb" , " neo4j" , " redis" , " rustynum "
6162]
6263
6364# =============================================================================
@@ -194,6 +195,20 @@ pyo3 = { version = "0.23", optional = true, features = ["extension-module"] }
194195# -----------------------------------------------------------------------------
195196# crewai-vendor = { package = "crewai", path = "vendor/crewai-rust", optional = true }
196197
198+ # -----------------------------------------------------------------------------
199+ # Vendor: rustynum-rs (SIMD numerical library with AVX-512 VPOPCNTDQ + VNNI)
200+ # Source: https://github.com/AdaWorldAPI/rustynum
201+ # Provides runtime-dispatched kernels:
202+ # - VPOPCNTDQ popcount/hamming (8× speedup over scalar POPCNT)
203+ # - VNNI VPDPBUSD int8 dot product (64× speedup for embeddings)
204+ # - Optimized bundle (ripple-carry > per-bit counting)
205+ # - GEMM for batch operations
206+ # - Zero-copy Container bridge: view_u64_as_bytes()
207+ # Requires: nightly Rust (portable_simd)
208+ # Requires: git clone https://github.com/AdaWorldAPI/rustynum vendor/rustynum
209+ # -----------------------------------------------------------------------------
210+ rustynum-rs = { path = " vendor/rustynum/rustynum-rs" , optional = true }
211+
197212# =============================================================================
198213# DEV DEPENDENCIES
199214# =============================================================================
0 commit comments