Expand description
See Packages.
Re-exportsΒ§
use std::collections::BTreeSet;πuse crate::util::CargoResult;πuse crate::util::restricted_names::is_glob_pattern;πuse crate::workspace::Package;πuse crate::workspace::PackageIdSpecQuery;πuse crate::workspace::PackageIdSpec;πuse crate::workspace::Workspace;πuse anyhow::Context as _;πuse anyhow::bail;π
EnumsΒ§
- Packages
- Represents the selected packages that will be built.
FunctionsΒ§
- build_
glob - Build
glob::Patternwith informative context. - emit_
package_ πnot_ found - Emits βpackage not foundβ error.
- emit_
packages_ πnot_ found_ within_ workspace - emit_
pattern_ πnot_ found - Emits βglob pattern not foundβ error.
- match_
patterns π - Checks whether a package matches any of a list of glob patterns generated
from
opt_patterns_and_names. - opt_
patterns_ πand_ ids - Given a list opt-in or opt-out package selection strings, generates two collections that represent glob patterns and package id specs respectively.