cargo::ops::cargo_compile::packages

Function match_patterns

Source
fn match_patterns(pkg: &Package, patterns: &mut Vec<(Pattern, bool)>) -> bool
Expand description

Checks whether a package matches any of a list of glob patterns generated from opt_patterns_and_names.