pub fn load_any(locator: &str) -> Result<Registry, String>Expand description
Fetch a registry from anywhere it might live. v0.7 (this phase):
- bare path /
file://— local file (delegates toload_local) https://…/entries.json— fetched via blocking HTTP, parsed identically to a local filehttps://hub.example/https://hub.example/— appends/entriesautomatically
HTTP fetch returns the same Registry shape; the hub serves the
canonical-JSON manifest verbatim, so signature verification works
byte-for-byte without re-canonicalization.