cini 1.0.0

A small callback based library for parsing ini files
Documentation
  • Coverage
  • 100%
    16 out of 16 items documented1 out of 8 items with examples
  • Size
  • Source code size: 9.11 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.65 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Morganamilo/pacmanconf.rs
    7 3 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Morganamilo

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.