aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorHristo Venev <hristo@venev.name>2019-03-19 10:30:17 +0200
committerHristo Venev <hristo@venev.name>2019-03-19 10:30:53 +0200
commit7eef7ad915a608f5cad510d079b9240ed11698f1 (patch)
tree4e65dd2a2210bfc893d3fb71252c8b574989f68f /src/config.rs
parente143b186a3eba9c03af20156ad3a2e729c638dc9 (diff)
BREAKING CHANGE: The config file is now in toml.
The "sources" field is now [[source]].
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 00874c2..cd874da 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -40,6 +40,7 @@ pub struct Config {
#[serde(flatten)]
pub update_config: UpdateConfig,
+ #[serde(rename = "source")]
pub sources: Vec<Source>,
}