Skip to main content

crate_url

Function crate_url 

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

Returns the URL for a crate’s page on crates.io.

Display link only, never fetched by this process — unlike the sparse-index registry-fetch URL (sparse_index_path), 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).