configparser-rs
configparser-rs copied to clipboard
A simple configuration parsing utility with no dependencies built on Rust.
This adds an option to set inline comment separators separate from the comment separators, similar to the inline_comment_prefixes in the [Customizing Parser Behavior section](https://docs.python.org/3/library/configparser.html#customizing-parser-behaviour) of the Python library docs. Notes:...
In the python version, we have special variables like %(here) which is very helpful for big config files, but mostly it's needed for interoperability. https://docs.python.org/3/library/configparser.html#configparser.BasicInterpolation
Hello, Thank you for this crate! It's been a big help. That said, I was finding myself in the position of needing to extract some sections of an Ini and...
I have a non-standard `.ini` file that uses `//` as comment symbols, but this crate could only accept char symbols to split. So I implemented the String comment symbols without...
Whenever data is read via `load` or `read`, the data `Ini` instance is mutated in place, but a clone of the inner data is returned too. So I end up...
I would like to save a config file with data sourced from `HashMap`. Is there a easy way to construct `Ini` and serialize it to a String?
The files in the configparser 2.0.0 crate tarball appear to have a UNIX timestamp of 0: ```console $ wget -q -O- https://crates.io/api/v1/crates/configparser/2.0.0/download | TZ=UTC tar xvvvz -rw-r--r-- 0/0 74 1970-01-01...
Similar to configparser in Python, we should have an option to append sections using a direct hashmap and string. * `append(Some(sectionname), HashMap to append)` - If `None`, we append the...
I have a set of keys in an ini file in once section that I need to apply the same rules to and update the data structure, in memory. With...