pub fn latest_crate_version<S: Display, U: Display>(
crate_name: S,
user_agent: U,
) -> Result<Version>Expand description
Synchronously fetches the latest published version of crate_name from
crates.io, identifying the request with the given user_agent.