tidy::deps

Function pkg_from_name

Source
fn pkg_from_name<'a>(metadata: &'a Metadata, name: &'static str) -> &'a Package
Expand description

Finds a package with the given name.