3 releases (1 stable)

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

#2615 in Parser implementations

Download history 3989/week @ 2024-01-10 4040/week @ 2024-01-17 3981/week @ 2024-01-24 3968/week @ 2024-01-31 4045/week @ 2024-02-07 3866/week @ 2024-02-14 3707/week @ 2024-02-21 3915/week @ 2024-02-28 4288/week @ 2024-03-06 6578/week @ 2024-03-13 5360/week @ 2024-03-20 4812/week @ 2024-03-27 4264/week @ 2024-04-03 3906/week @ 2024-04-10 3798/week @ 2024-04-17 3239/week @ 2024-04-24

15,913 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