add config default so next release does not contain breaking change

This commit is contained in:
aaron-jack-manning 2022-09-03 12:31:42 +10:00
parent ae7887fd35
commit 113c8ac203

View File

@ -5,6 +5,7 @@ use crate::format;
use std::path; use std::path;
#[derive(Debug, serde::Serialize, serde::Deserialize)] #[derive(Debug, serde::Serialize, serde::Deserialize)]
#[serde(default)]
pub struct Config { pub struct Config {
/// Paths for all vaults, ordered according to recent usage, with current at the front. /// Paths for all vaults, ordered according to recent usage, with current at the front.
pub vaults : Vec<(String, path::PathBuf)>, pub vaults : Vec<(String, path::PathBuf)>,