Skip to main content

package_url

Function package_url 

Source
pub fn package_url(name: &str) -> String
Expand description

Returns the URL for a package’s page on pub.dev.

Display link only, never fetched by this process — unlike package_metadata_url (a fetch sink), so it is deliberately not gated against a ./.. name (see deps_core::is_dot_segment’s doc for the fetch-sink-vs-display-link scope split, #379).