Expand description
Crate architecture overview.
The crate is intentionally layered from parsing to reporting:
analysisowns language-specific parsing and evidence extraction.indexresolves files, packages, and import relationships across a repository.heuristicsturns parsed evidence into findings for each language and rule family.scanorchestrates repository traversal, parsing, indexing, evaluation, and reporting.cliformats the public command-line experience around the library entry points.
Each subsystem keeps its facade small and pushes implementation detail into focused modules. When expanding the crate, prefer adding a new leaf module over growing a facade into a catch-all file.
Re-exports§
pub use benchmark::BenchmarkOptions;pub use benchmark::benchmark_repository;pub use benchmark::benchmark_repository_with_go_semantic;
Modules§
Structs§
- Benchmark
Report - File
Report - Finding
- Function
Fingerprint - Index
Summary - Parse
Failure - Rule
Metadata - Scan
Options - Scan
Report - Stage
Stats - Timing
Breakdown
Enums§
Constants§
Functions§
- is_
async_ rollout_ rule - is_
detail_ only_ rule - read_
to_ string_ limited - rule_
binding_ location - rule_
metadata - rule_
metadata_ variants - rule_
registry - scan_
repository - scan_
repository_ with_ go_ semantic - syntax_
error_ for_ source - validate_
source