ripvec_core/lib.rs
1//! Core library for ripvec semantic code search.
2//!
3//! Provides the CPU cross-encoder reranker, tree-sitter code chunking, parallel
4//! embedding, and cosine similarity ranking.
5
6pub mod backend;
7pub mod bm25;
8pub mod cache;
9pub mod chunk;
10pub mod embed;
11pub mod encoder;
12pub mod error;
13pub mod hybrid;
14pub mod languages;
15pub mod profile;
16pub mod ranking;
17pub mod repo_map;
18pub mod rerank;
19pub mod searchable;
20pub mod similarity;
21pub mod tokenize;
22pub mod walk;
23
24pub use error::Error;
25
26/// Convenience Result type for ripvec-core.
27pub type Result<T> = std::result::Result<T, Error>;