tyt-preferences 0.1.6

Preference loading from .tytconfig files for tyt sub-crates.
Documentation
1
2
3
4
5
6
7
8
/// Preferences loaded from `.tytconfig` files.
#[derive(Clone, Debug, Default)]
pub struct Prefs<T> {
    /// Preferences from `~/.tytconfig`.
    pub user: Option<T>,
    /// Preferences from `<git-root>/.tytconfig`.
    pub git_root: Option<T>,
}