0.2.4 - allow empty configuration sections and update dependencies

This commit is contained in:
Jeremy Soller
2019-06-10 17:31:44 -06:00
parent f30987b1e5
commit acb7bced58
3 changed files with 93 additions and 90 deletions
+3
View File
@@ -8,7 +8,10 @@ mod user;
#[derive(Debug, Default, Deserialize)]
pub struct Config {
pub general: general::GeneralConfig,
#[serde(default)]
pub packages: BTreeMap<String, package::PackageConfig>,
#[serde(default)]
pub files: Vec<file::FileConfig>,
#[serde(default)]
pub users: BTreeMap<String, user::UserConfig>,
}