settings: blacklist isn't required

This commit is contained in:
Antoine Martin 2021-03-31 18:57:50 +02:00
parent 6a79949e28
commit e68fcf3e52

View file

@ -12,6 +12,6 @@ pub(crate) struct GlobalSettings {
pub additional_remotes: Vec<RepoUrl>,
/// List of regexes, if a repository's name matches any of the, it is not mirrored by `lohr`
/// even if it contains a `.lorh` file.
#[serde(with = "serde_regex")]
#[serde(with = "serde_regex", default)]
pub blacklist: Vec<regex::Regex>,
}