rssettings

Crates.iorssettings
lib.rsrssettings
version0.2.0
sourcesrc
created_at2024-01-24 07:13:55.180497
updated_at2024-01-28 07:17:24.926229
descriptionA lib crate to manage .ini style settings file
homepage
repositoryhttps://github.com/fstafforte/rssettings
max_upload_size
id1111774
size55,918
Fabio Stafforte (fstafforte)

documentation

README

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
Commit count: 0

cargo fmt