Skip to main content

Module runner

Module runner 

Source
Expand description

Rule execution, reporting, fixing, and suppression cleanup.

Modulesยง

cache ๐Ÿ”’
Persistent content-addressed analysis cache.
clean ๐Ÿ”’
report ๐Ÿ”’

Structsยง

FileResult ๐Ÿ”’
RunCtx
Inputs needed by run and collect_violations.

Enumsยง

AnalysisError ๐Ÿ”’
FixMode
How the runner should handle auto-fixable violations.

Constantsยง

MAX_FIX_ITERATIONS ๐Ÿ”’

Functionsยง

analysis_paths ๐Ÿ”’
analyze_path ๐Ÿ”’
analyze_paths ๐Ÿ”’
apply_and_verify ๐Ÿ”’
cargo_target_dir
Resolve the target directory Cargo uses for workspace tooling.
clean_suppressions
Remove only suppression targets that do not cover an underlying violation.
collect_violations ๐Ÿ”’
Walk the target crates in parallel and collect all violations (and optional fixes) from every enabled rule.
complete_cache_result ๐Ÿ”’
enabled_rules ๐Ÿ”’
matches_rule_filter ๐Ÿ”’
merge_file_results ๐Ÿ”’
persist_complete_cache ๐Ÿ”’
persist_file_cache ๐Ÿ”’
persist_workspace_cache ๐Ÿ”’
report_suppressions
Print every #t(...) directive found across the selected crates as a grouped table.
require_complete_analysis ๐Ÿ”’
resolve_cargo_target_dir ๐Ÿ”’
retain_targets ๐Ÿ”’
run
Run tidy rules with human-readable terminal output. Returns true if clean.
workspace_violations ๐Ÿ”’

Type Aliasesยง

AnalysisResult ๐Ÿ”’
CollectedAnalysis ๐Ÿ”’
CollectedResults ๐Ÿ”’
FileAnalysis ๐Ÿ”’