diff --git a/src/config.rs b/src/config.rs index 4132296..bf7aeab 100644 --- a/src/config.rs +++ b/src/config.rs @@ -12,6 +12,8 @@ pub struct Replacements { #[derive(Clone, Debug, Deserialize)] pub struct Substitutor { + #[serde(default)] + pub name: String, pub matcher: Matcher, pub action: Action, }