pithdb 0.2.0

Pith: lightweight local vector database with built-in ONNX embeddings and an MCP server for code search
Documentation
//! Pith: a local single-file vector database with built-in ONNX embeddings, for searching a codebase by meaning.

/// Longest chunk the chunker emits, in chars; the storage table bound derives from it.
pub(crate) const CHUNK_MAX_CHARS: usize = 1_400;

#[cfg(any(feature = "mcp", feature = "tui"))]
mod budget;
pub mod commands;
pub mod embed;
pub mod error;
pub mod index;
pub mod ingest;
#[cfg(feature = "mcp")]
pub mod mcp;
pub mod storage;
#[cfg(feature = "tui")]
pub mod tui;

pub use commands::{
    index_project, index_project_with_progress, is_yes, load_default_embedder, open_project,
    render_error, render_search, render_stats, search_project, skip_summary, stats_project,
    IndexReport, Progress, SearchHit, Stats,
};
pub use error::{Error, Result};