3 releases (1 stable)
1.0.0 | Feb 16, 2022 |
---|---|
0.1.1 | Jul 25, 2020 |
0.1.0 | Mar 9, 2019 |
#1795 in Parser implementations
19,256 downloads per month
Used in 14 crates
(2 directly)
10KB
149 lines
cini
cini is a small callback based ini parser framework.
This crate provides a simple way to implement an ini parser. Unlike many other ini parsers which are map based solutions, cini parses inis into structs via the Ini trait. Although to do this the struct must manually implement Ini (a custom derive is probably possible but out of scope for me).
As this crate was originally created for parsing pacman's pacman.conf, the ini format exactly follows pacman's.