mod.rs 342 Bytes
Newer Older
Jeremy Soller's avatar
Jeremy Soller committed
1 2 3
use std::collections::BTreeMap;

mod general;
4
pub(crate) mod file;
Jeremy Soller's avatar
Jeremy Soller committed
5 6 7 8 9 10 11
mod package;
mod user;

#[derive(Debug, Default, Deserialize)]
pub struct Config {
    pub general: general::GeneralConfig,
    pub packages: BTreeMap<String, package::PackageConfig>,
Jeremy Soller's avatar
Jeremy Soller committed
12
    pub files: Vec<file::FileConfig>,
Jeremy Soller's avatar
Jeremy Soller committed
13 14
    pub users: BTreeMap<String, user::UserConfig>,
}