leindex-0.1.0 has been yanked.
LePasserelle - Integration & API Layer
This crate provides the integration and API layer for LeIndex, offering:
- LeIndex Orchestration: Unified API for parsing, indexing, searching, and analysis
- CLI Interface: Command-line tool for project indexing, search, and diagnostics
- MCP Server: Model Context Protocol server for LLM tool integration
- Memory Management: Automatic cache spilling and restoration with LRU eviction
Features
mcp-server(default): MCP JSON-RPC server functionality
Quick Start
use lepasserelle::LeIndex;
// Create a LeIndex instance for a project
let leindex = LeIndex::new("/path/to/project")?;
// Index the project
let stats = leindex.index_project()?;
println!("Indexed {} files", stats.files_parsed);
// Search for code
let results = leindex.search("authentication", 10)?;
for result in results {
println!("{}: {}", result.symbol_name, result.file_path);
}
CLI Usage
# Index a project
# Search for code
# Deep analysis
# System diagnostics