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 entry_points;
13pub mod error;
14pub mod hybrid;
15pub mod languages;
16pub mod profile;
17pub mod ranking;
18pub mod repo_map;
19pub mod rerank;
20pub mod searchable;
21pub mod similarity;
22pub mod tokenize;
23pub mod walk;
24
25pub use error::Error;
26
27/// Convenience Result type for ripvec-core.
28pub type Result<T> = std::result::Result<T, Error>;