Skip to main content

Module discover

Module discover 

Source
Expand description

The one network call the devshell verb makes: which release is the latest.

The answer is the redirect of the forge’s releases/latest page. It costs no API quota and no token, and it excludes prereleases, which the tag list does not. The fetch goes through crate::http, the one owner of the requests rk sends, whose test seam lets a test serve the network locally.

Enums§

Discovery
What discovery found.

Functions§

latest_tag
The latest release’s tag, through one request that follows the redirect and reads the URL that answered.
latest_url
The page whose redirect names the latest release, derived from the pin grammar so the project path has one owner.
version_order
Semantic version order over two tags, with or without the leading v.