Expand description
§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.
Structs§
- The callback implemnters of Ini receive for each line parsed.
Enums§
- The kind of callback.
Traits§
- Parse an ini str into a struct.