#pacman #conf #arch #archlinux #pacman-conf

pacmanconf

A pacman-conf wrapper library for parsing pacman config files

7 releases (2 stable)

2.0.0 Feb 16, 2022
1.0.0 Apr 23, 2021
0.2.0 Nov 29, 2020
0.1.3 Nov 26, 2020
0.1.0 Mar 9, 2019

#217 in Parser implementations

Download history 2900/week @ 2022-08-17 3087/week @ 2022-08-24 3128/week @ 2022-08-31 3050/week @ 2022-09-07 3039/week @ 2022-09-14 3017/week @ 2022-09-21 2982/week @ 2022-09-28 2921/week @ 2022-10-05 2965/week @ 2022-10-12 2922/week @ 2022-10-19 2952/week @ 2022-10-26 4901/week @ 2022-11-02 3909/week @ 2022-11-09 3309/week @ 2022-11-16 2984/week @ 2022-11-23 2549/week @ 2022-11-30

13,284 downloads per month
Used in fewer than 9 crates

GPL-3.0 license

33KB
617 lines


lib.rs:

PacmanConf

pacmanconf is a simple parser for pacman config files.

This parser parses pacman config files textually. It makes no attempt convert fields such as SigLevel or Usage into bitfields.

pacmanconf is a wrapper around the pacman-conf binary. Instead of fully parsing pacman.conf files, pacman-conf is used as an intermediate step to greatly simplify the parser logic.

However this is more of an implementation detail and pacman-conf will be called automatically when parsing files.

Dependencies