archunit

Function extract_graph_with_options

Source
pub fn extract_graph_with_options(
    project: &CargoProject,
    options: &CheckOptions,
) -> Result<GraphExtraction, ArchUnitError>
Expand description

Extracts a graph using the extraction-related settings from one architecture check.

CheckOptions::clears_cache empties the shared cache before extraction. Test, example, and benchmark target selection is mapped from CheckOptions::includes_test_sources.