Module gguf_parser

Module gguf_parser 

Source
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 in domain::gguf
  • This port only defines the trait and error type
  • Implementations live in gglib-gguf crate

Re-exports§

pub use crate::domain::gguf::GgufCapabilities;
pub use crate::domain::gguf::GgufMetadata;

Structs§

NoopGgufParser
A no-op GGUF parser that returns default/empty metadata.

Enums§

GgufParseError
Errors that can occur during GGUF parsing.

Traits§

GgufParserPort
Port for parsing GGUF file metadata.