pub fn fetch_for(
dep: &Dep,
root: Option<&Path>,
private: bool,
) -> Result<Source>Expand description
fetch, reading the project’s private-source configuration when root is
given. Without private (lockdocs Pro), a package that needs a private
source fails with private::PrivateRequired and nothing is sent anywhere.