3 releases (1 stable)

1.0.0 Feb 16, 2022
0.1.1 Jul 25, 2020
0.1.0 Mar 9, 2019

#2636 in Parser implementations

Download history 6690/week @ 2024-03-14 5218/week @ 2024-03-21 4818/week @ 2024-03-28 4179/week @ 2024-04-04 3892/week @ 2024-04-11 3792/week @ 2024-04-18 3838/week @ 2024-04-25 3979/week @ 2024-05-02 4063/week @ 2024-05-09 4346/week @ 2024-05-16 4188/week @ 2024-05-23 4200/week @ 2024-05-30 4147/week @ 2024-06-06 4080/week @ 2024-06-13 4186/week @ 2024-06-20 3379/week @ 2024-06-27

16,445 downloads per month
Used in 14 crates (2 directly)

GPL-3.0 license

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.

No runtime deps