pub async fn fetch_and_save(url: &str) -> Result<ProvidersCache>Expand description
Download the providers JSON from url, parse it, write to the cache
file, and return the parsed ProvidersCache. The URL is validated by
validate_providers_url before any request is made.
Async — must be called from a tokio runtime.