Expand description
Registry client.
The Client resolves plugin metadata from the static-site catalog.
Network access is abstracted behind the Fetcher trait so:
- production builds can plug in
reqwest/ureq(or read from a mirrored checkout), and - tests inject a
MemoryFetcherholding the TOML documents verbatim, with no network.
The client only reads structured TOML; the actual artifact download
(the [artifact] URL in a manifest) is handled by [crate::install].
Structs§
- Client
- A client bound to a registry base URL and a
Fetcher. - Memory
Fetcher - An in-memory
Fetcherkeyed by registry-relative path.
Traits§
- Fetcher
- Pluggable transport for registry content.