fetch_configuration

Crates.iofetch_configuration
lib.rsfetch_configuration
version0.2.0
sourcesrc
created_at2019-11-27 09:52:32.840911
updated_at2019-11-27 11:50:33.363188
descriptionLibrary to fetch configuration from config file.
homepage
repositoryhttps://github.com/PankajChaudhary5/fetch_configuration.git
max_upload_size
id184787
size10,327
Pankaj Chaudhary (Polkaverse)

documentation

README

fetch_configuration

Build Status Latest version Stability stable

A Library to fetch the configurations form the config file.

Use

Add dependency in Cargo.toml

[dependencies]
fetch_configuration = "0.2.0"

Example to use fetch configuration crate

extern crate fetch_configuration;
use fetch_configuration::configuration;

fn main() {
        let config = configuration("config.json").unwrap();
        let time = config.get(&"TIMER".to_string()) .expect("Key not present");
        print!("{}", time);
}

Contributing

If you want to contribute to this crate please take a look to Click Me.

Commit count: 15

cargo fmt