diff --git a/src/config.rs b/src/config.rs index 5c588dd..e6ac04d 100644 --- a/src/config.rs +++ b/src/config.rs @@ -33,6 +33,7 @@ pub struct ConfigTrees { } #[derive(Debug, Serialize, Deserialize)] +#[serde(deny_unknown_fields)] pub struct ConfigProviderFilter { pub access: Option, pub owner: Option, @@ -41,6 +42,7 @@ pub struct ConfigProviderFilter { } #[derive(Debug, Serialize, Deserialize)] +#[serde(deny_unknown_fields)] pub struct ConfigProvider { pub provider: RemoteProvider, pub token_command: String,