3 releases (1 stable)

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

#2564 in Parser implementations

Download history 4447/week @ 2023-12-14 4001/week @ 2023-12-21 4273/week @ 2023-12-28 4040/week @ 2024-01-04 4057/week @ 2024-01-11 4006/week @ 2024-01-18 3937/week @ 2024-01-25 4005/week @ 2024-02-01 4083/week @ 2024-02-08 3809/week @ 2024-02-15 3672/week @ 2024-02-22 3950/week @ 2024-02-29 4391/week @ 2024-03-07 6690/week @ 2024-03-14 5218/week @ 2024-03-21 4182/week @ 2024-03-28

21,016 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