Expand description
GGUF parser port definition.
This port abstracts the parsing of GGUF file metadata, allowing different implementations (full parser, stub, mock for testing).
§Design
- Domain types (
GgufMetadata,GgufCapabilities) are defined indomain::gguf - This port only defines the trait and error type
- Implementations live in
gglib-ggufcrate
Re-exports§
pub use crate::domain::gguf::GgufCapabilities;pub use crate::domain::gguf::GgufMetadata;
Structs§
- Noop
Gguf Parser - A no-op GGUF parser that returns default/empty metadata.
Enums§
- Gguf
Parse Error - Errors that can occur during GGUF parsing.
Traits§
- Gguf
Parser Port - Port for parsing GGUF file metadata.