pub async fn latest_version(releases: &str) -> Result<String, String>Expand description
The version of the latest release on the GitHub releases page
releases, such as https://github.com/sharkdp/fd/releases, without a
leading v: pi’s getLatestVersion, which reads the redirect of
<releases>/latest because the API endpoint’s anonymous quota is often
exhausted behind shared egress.