3 releases (1 stable)

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

#2042 in Parser implementations

Download history 4130/week @ 2024-08-16 4399/week @ 2024-08-23 4430/week @ 2024-08-30 4844/week @ 2024-09-06 8956/week @ 2024-09-13 6043/week @ 2024-09-20 5152/week @ 2024-09-27 5131/week @ 2024-10-04 5125/week @ 2024-10-11 4694/week @ 2024-10-18 4582/week @ 2024-10-25 4289/week @ 2024-11-01 4111/week @ 2024-11-08 4058/week @ 2024-11-15 3992/week @ 2024-11-22 3510/week @ 2024-11-29

16,204 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