Skip to content

eliovir/rust-ini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IniFile

Build Status

This crate provides a handler for INI files.

TODO : make it works with the Encoder and Decoder traits in Rust's serialize crate.

Usage

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);
}

Version policy

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.

License

MIT, see LICENSE

About

Rust library to handle .ini files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published