tidy::deps

Function pkg_from_id

Source
fn pkg_from_id<'a>(metadata: &'a Metadata, id: &PackageId) -> &'a Package