Expand description
High-level APIs for executing the resolver.
This module provides functions for running the resolver given a workspace. There are roughly 3 main functions:
resolve_ws
: A simple, high-level function with no options.resolve_ws_with_opts
: A medium-level function with options like user-provided features. This is the most appropriate function to use in most cases.resolve_with_previous
: A low-level function for running the resolver, providing the most power and flexibility.
Structs
Result for
resolve_ws_with_opts
.Constants
Functions
Read the
paths
configuration variable to discover all path overrides that
have been configured.Emits warnings of unused patches case by case.
In this function we’re responsible for informing the
registry
of all
locked dependencies from the previous lock file we had, resolve
.Resolves all dependencies for a package using an optional previous instance
of resolve to guide the resolution process.
Resolves all dependencies for the workspace using the previous
lock file as a guide if present.
Resolves dependencies for some packages of the workspace,
taking into account
paths
overrides and activated features.