Crate miniconf_parser

Crate miniconf_parser 

Source
Expand description

Pest-powered parser for the MiniConf configuration language.

The crate exposes parse_str for one-shot parsing and re-exports the Document, Section, and Value types for downstream consumers.

Re-exports§

pub use ast::Document;
pub use ast::Entry;
pub use ast::Section;
pub use ast::Value;
pub use error::MiniConfError;
pub use error::ParseErrorKind;

Modules§

ast
Abstract syntax tree types used to represent parsed documents.
error
Error types emitted by the parser.
parser
Low-level parser utilities and the generated pest machinery.

Functions§

parse_str
Convenience function that parses source into a Document.