cargo_free
pub fn check_availability(name: impl AsRef<str>) -> Result<Availability, ()>
Checks the availability for a given crate name.
name
Ok(Availability) if the name could be resolved, an error otherwise.
Ok(Availability)
The needed network request will timeout after five seconds.