| Crates.io | miniconf-pest-parser |
| lib.rs | miniconf-pest-parser |
| version | 0.1.0 |
| created_at | 2025-11-05 20:19:55.970063+00 |
| updated_at | 2025-11-05 20:19:55.970063+00 |
| description | PEG (pest) parser for the MiniConf configuration format with sections and key=value values. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1918541 |
| size | 14,502 |
MiniConf is a plain-text configuration format with sections and key = value pairs. This crate provides a PEG grammar written for pest and the Rust structures used in the project.
[section_name].key = value.# and continue to the end of the line.Supported values:
\", \n, \t).true, false).null.[value, value].{key: value}.All parsed data lands in Document { sections: HashMap<String, HashMap<String, Value>> }, so you can read data as doc.sections["database"]["port"].
# Project
title = "Project Alpha"
version = 1.0
flags = { debug: true }
[database]
host = "localhost"
port = 5432
tags = ["primary", "ro"]