Skip to main content

fetch_dependency

Function fetch_dependency 

Source
pub fn fetch_dependency(
    name: &str,
    spec: &DependencySpec,
    project_root: &Path,
    cache: &PackageCache,
) -> Result<FetchResult, String>
Expand description

Fetch a dependency into the cache based on its spec.