seekr_code/lib.rs
1//! # Seekr
2//!
3//! A semantic code search engine, smarter than grep.
4//!
5//! Seekr supports three search modes:
6//! - **Text regex**: High-performance regular expression matching
7//! - **Semantic vector**: ONNX-based local embedding + HNSW KNN search
8//! - **AST pattern**: Function signature pattern matching via Tree-sitter
9//!
10//! 100% local execution — no data leaves your machine.
11
12pub mod config;
13pub mod error;
14
15// Core modules — will be implemented in subsequent phases
16pub mod scanner;
17pub mod parser;
18pub mod embedder;
19pub mod index;
20pub mod search;
21pub mod server;
22
23/// Current index format version.
24/// Increment this when the on-disk index format changes.
25pub const INDEX_VERSION: u32 = 1;
26
27/// Seekr version string (from Cargo.toml).
28pub const VERSION: &str = env!("CARGO_PKG_VERSION");