Skip to main content

Module registry

Module registry 

Source
Expand description

The pinned-tool registry, parsed from the embedded versions.toml.

One registry serves three readers: rk versions prints it raw, a landing copies the relevant pins into the record, and rk status compares a record’s pins against it offline. Parsing happens at runtime over the embedded bytes, so what the readers see is necessarily what the binary carries.

Structs§

Pin
One pinned tool, with the fields the binary’s readers use; the registry’s prose fields stay in the raw print.

Functions§

pins
Every pin the embedded registry declares, in authored order.
pins_for
The pins a technology’s snippets use, keyed for a landing record.
version_of
The pinned version of one tool, where the registry names it.