Skip to main content

Crate house

Crate house 

Source

Modules§

cli
detect
Picks the directories worth scanning. A manifest absorbed into a workspace is not a project of its own; of what remains, repo roots and workspace roots become units, plus two rescues so a nested toolchain is never lost.
extract
Reads requirements out of whatever a project already declares. Every source is a peer: none of them wins by default, and disagreement is left for crate::resolve to surface.
model
probe
Inspects the host. Read-only, every tool checked in parallel, and answers are remembered so a repeat scan does not spawn a process per tool.
report
Turns requirements plus host state into a ranked, readable answer.
resolve
Folds every opinion about a tool into one check. The narrowest constraint is the one house verifies; the rest are kept, because a disagreement between sources is a finding in its own right rather than something the winner hides.

Functions§

run
scan_repo
The whole pipeline, for callers that want the report rather than the output.