diff options
Diffstat (limited to 'src/configs/vagrant.rs')
-rw-r--r-- | src/configs/vagrant.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/configs/vagrant.rs b/src/configs/vagrant.rs index fa11d4522..d88062c1c 100644 --- a/src/configs/vagrant.rs +++ b/src/configs/vagrant.rs @@ -1,7 +1,11 @@ use serde::{Deserialize, Serialize}; #[derive(Clone, Deserialize, Serialize)] -#[cfg_attr(feature = "config-schema", derive(schemars::JsonSchema))] +#[cfg_attr( + feature = "config-schema", + derive(schemars::JsonSchema), + schemars(deny_unknown_fields) +)] #[serde(default)] pub struct VagrantConfig<'a> { pub format: &'a str, |