Expand description
AST analysis for coupling detection
Uses syn to parse Rust source code and detect coupling patterns.
Optionally uses cargo metadata for accurate workspace analysis.
Supports parallel processing via Rayon for large projects.
Structs§
- Analyzed
File Result - Analyze a single Rust file Result of analyzing a single Rust file
- Coupling
Analyzer - AST visitor for coupling analysis
- Dependency
- Represents a detected dependency
- Item
Dependency - Detailed dependency at the item level (function, struct, etc.)
- Usage
Counts - Statistics about usage patterns
Enums§
- Analyzer
Error - Errors that can occur during analysis
- Dependency
Kind - Kind of dependency
- Item
DepType - Type of item-level dependency
- Item
Kind - Kind of source item
- Usage
Context - Context of how a dependency is used - determines Integration Strength
Functions§
- analyze_
project - Analyze an entire project (parallel version)
- analyze_
project_ parallel - Analyze a project using parallel processing with Rayon
- analyze_
project_ parallel_ with_ config - Analyze a project in parallel, honoring
[analysis].excludepatterns from config. - analyze_
rust_ file - analyze_
rust_ file_ full - Analyze a Rust file and return full results including visibility
- analyze_
workspace - Analyze a workspace using cargo metadata for better accuracy
- analyze_
workspace_ with_ config - Analyze a workspace, honoring
[analysis].excludepatterns from config.