fn pkg_from_name<'a>(metadata: &'a Metadata, name: &'static str) -> &'a Package
Finds a package with the given name.