Module parser

Module parser 

Source

Structs§

TomlParser

Enums§

ConfigValue
This enum represents the possible values that can be parsed from a configuration file.
FileFormat
Represents the supported file formats for configuration parsing.
ParserError
Represents various errors that can occur during the parsing process. Leverages the thiserror crate for structured and user-friendly error handling.

Traits§

FromConfigValue
Trait to convert a ConfigValue to a specific type.
Parser
Trait defining the interface for parsers. Parsers must be thread-safe (Send + Sync).

Functions§

get_file_extension
Function to get the file extension from a path.
get_parser
Function to get a parser based on file extension. Returns an Option containing the parser if the extension is supported.