This crate provides a handler for INI files.
TODO : make it works with the Encoder
and Decoder
traits in Rust's serialize
crate.
extern crate inifile;
use inifile::IniFile;
fn main() {
let mut config = IniFile::new();
config.read("data/config.ini");
let found = config.get_f64("Floats", "float01");
assert_eq!(found, 0.1);
}
This library follows semver, with a notable, but temporary exception, as Rust is currently still in flux:
Changes to maintain compatibility with the current development state of Rust are considered patches, as long as the resulting API stays faithful to the previous API and doesn't add or loose any features.
MIT, see LICENSE