rogue_config 0.2.0

Basic options pattern
Documentation
1
2
3
4
5
6
use crate::ConfigError;
use serde::de::DeserializeOwned;

pub trait OptionsProvider {
    fn get<T: DeserializeOwned>() -> Result<T, ConfigError>;
}