diff --git a/src/config.rs b/src/config.rs index ae96bcf..a7acfc9 100644 --- a/src/config.rs +++ b/src/config.rs @@ -44,9 +44,6 @@ pub struct Config { #[serde(skip)] pub path: Option, - #[serde(flatten)] - pub extra: HashMap, - /// Absolute path to the sqlite database pub database_file: PathBuf, // "/home/user/.timetrap.db" @@ -85,6 +82,9 @@ pub struct Config { /// The day of the week to use as the start of the week for t week. pub week_start: WeekDay, // Monday + + #[serde(flatten)] + pub extra: HashMap, } impl Config {