Skip to content

minskylab/settings-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Settings

setting-env is a rust package to load settings from environment variables.

Usage

use settings_env::Settings;

#[derive(Settings)]
struct AppSettings {
    pub host: String,
    pub port: u16,
}


fn main() {
    let settings = AppSettings::load_from_env();
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published