Expand description
Read the registry index, to learn which release is newest.
This is the one network read this tool makes, and it reads one thing: the sparse index line per published version. Nothing is downloaded and nothing is written into a project, because moving a consumer’s pin is a text edit and the version number is all it needs.
The registry’s own protocol decides the URL. The index path is derived from the crate name the way the protocol defines it, so no layout is hard-coded beyond the index root.
Structs§
- Index
- The registry index, read over the network.
Constants§
- CRATE_
NAME - The crate this tool distributes itself as.
- INDEX_
ROOT - The sparse index this tool reads.
Functions§
- index_
path - The sparse index path for a crate name, as the protocol defines it.