Expand description
Model registry — manifest-driven downloads with SHA-256 verification.
Re-exports§
pub use download::DownloadError;pub use download::download_with_checksum;pub use download::download_with_checksum_and_signature;pub use download::verify_sha256;pub use manifest::Manifest;pub use manifest::ManifestError;pub use manifest::ModelEntry;pub use manifest::ProfileEntry;pub use manifest::SCHEMA_V1;
Modules§
- download
- HTTP download with streamed SHA-256 and optional Minisign verification.
- manifest
- TOML manifest describing where each ONNX model lives, its checksum, and
which model each
Profileresolves to. - verify
- Minisign signature verification for model artifacts.
Structs§
- Model
Registry - A model registry: holds a manifest + a cache directory, and downloads/verifies models on demand.
- Profile
Models - Resolved file paths for the segmenter and embedder of a profile.
Enums§
- Registry
Error - Errors from
ModelRegistryoperations.
Constants§
- DEFAULT_
MANIFEST_ TOML - The default manifest shipped with the crate. Embedded at compile time.
Functions§
- default_
manifest - { true }
pub fn default_manifest() -> Manifest
{ true }
Parse the bundled default manifest. Panics in debug if the embedded TOML is
malformed — that’s a static asset bug caught by
cargo test.