domsson / succade

Run, feed and style your Lemonbar with ease
Creative Commons Zero v1.0 Universal
55 stars 3 forks source link

Replace inih with a header-only, public domain alternative? #35

Open domsson opened 4 years ago

domsson commented 4 years ago

Should we replace inih with an alternative INI parser? Motivation is as follows:

Of course, there is also a drawback to the header-only approach: succade will increase in size. With inih, succade doesn't need to include any INI parsing code and instead uses the shared library. Seeing, however, how some distributions do not have a package for inih (example, Arch Linux, see #33), I'm pretty tempted to trade a larger binary for easier installation.

Not quite sure about this one yet, let's see what alternatives are out there. A quick scan brings up simple-ini-reader and ini.h as possible candidates, but there are more.