#ini #settings #style

rssettings

A lib crate to manage .ini style settings file

4 releases

0.2.0 Jan 28, 2024
0.1.2 Jan 25, 2024
0.1.1 Jan 24, 2024
0.1.0 Jan 24, 2024

#18 in #ini

35 downloads per month
Used in mdlogger

Apache-2.0

56KB
827 lines

RSSETTINGS

This is my first rust crate. It is a library that can be used to manage a clasical .ini style settings files [SECTION] key = value

i.g [GLOBAL] enabled = true

see documentation and the tests as examples

this software is under Apache-2.0 license

Please use the devel branch to modify this crate and when your modification has been tested merge them in the master branch

New Features

27 Jan 2024: Introduced two new methods

  1. Settings::section_exists(&self, section_name: &str) -> bool As the name of the method itself says, it returns a boolean value that indicates whether the section exists or not
  2. Settings::key_exists(&self, section_name: &str, key: &str) -> bool As the name of the method itself says, it returns a boolean value that indicates whether the key exists or not

No runtime deps