pub fn resolve<DP: DependencyProvider>(
dependency_provider: &DP,
package: DP::P,
version: impl Into<DP::V>
) -> Result<SelectedDependencies<DP>, PubGrubError<DP>>
Expand description
Main function of the library. Finds a set of packages satisfying dependency bounds for a given package + version pair.