Crate cargomap

Crate cargomap 

Source
Expand description

cargomap - Rust Architecture Analysis Tool

A resilient code analysis tool that provides:

  • Partial parsing (LSP-Lite) that handles broken code gracefully
  • Dependency bridge mapping Cargo.lock to registry sources
  • Semantic gravity ranking for intelligent result ordering
  • Call-site teleportation (local usage mapping for external symbols)
  • MCP server for LLM tool integration

Re-exports§

pub use dependency::DependencyBridge;
pub use gravity::SemanticGravity;
pub use parser::PartialParser;
pub use types::*;

Modules§

dependency
Dependency Bridge - Maps Cargo.lock to registry sources
gravity
Semantic Gravity - Intelligent ranking of search results
mcp
MCP Server module for cargomap
parser
Partial Parser - LSP-Lite with resilient parsing
types
Core types for the architecture analysis tool