Function cargo::ops::cargo_compile::packages::opt_patterns_and_ids
source ยท fn opt_patterns_and_ids(
opt: &[String],
) -> CargoResult<(Vec<(Pattern, bool)>, BTreeSet<PackageIdSpec>)>
Expand description
Given a list opt-in or opt-out package selection strings, generates two collections that represent glob patterns and package id specs respectively.