From 113c8ac2033ad26b509263265be4c076be7d1eb1 Mon Sep 17 00:00:00 2001 From: aaron-jack-manning Date: Sat, 3 Sep 2022 12:31:42 +1000 Subject: [PATCH] add config default so next release does not contain breaking change --- src/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.rs b/src/config.rs index 80b9fda..b9b25a3 100755 --- a/src/config.rs +++ b/src/config.rs @@ -5,6 +5,7 @@ use crate::format; use std::path; #[derive(Debug, serde::Serialize, serde::Deserialize)] +#[serde(default)] pub struct Config { /// Paths for all vaults, ordered according to recent usage, with current at the front. pub vaults : Vec<(String, path::PathBuf)>,