hearth-resolve 0.3.2

Resolve a model reference to fetchable blobs — Ollama's registry, HuggingFace, or a local path.
Documentation

Resolve a model reference to fetchable bytes.

hearth aggregates catalogs it does not own: Ollama's curated few hundred, and HuggingFace's hundreds of thousands of GGUFs. Neither is the product — the serving is. This crate is the seam between "what a person typed" and "these exact bytes, with this digest".

Everything here is pure. Reference parsing, layer selection, quantization choice and multi-part detection are all rules, and rules are testable without a network. The HTTP that actually moves bytes lives elsewhere and contains no decisions.

use hearth_resolve::Reference;
assert_eq!(
    Reference::parse("llama3").unwrap().key(),
    "ollama/library/llama3:latest",
);