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
//! Vera Core — parsing, indexing, retrieval, storage, and embedding engine.
//!
//! This crate provides the core functionality for Vera's code indexing and
//! retrieval pipeline. It is consumed by `vera-cli` (CLI interface) and
//! `vera-mcp` (MCP server).
//!
//! # Module overview
//!
//! - [`parsing`] — Tree-sitter based source code parsing and AST extraction.
//! - [`indexing`] — Building and maintaining the search index (BM25, vectors).
//! - [`retrieval`] — Hybrid search, fusion, and reranking pipeline.
//! - [`storage`] — Persistent storage backends (SQLite + sqlite-vec, Tantivy).
//! - [`embedding`] — Embedding generation via external API providers.
pub use CancellationToken;
/// Install the rustls crypto provider (ring). Safe to call multiple times.
pub
/// Shared types used across multiple modules.
/// Configuration types and defaults.
/// Index statistics collection.