feat(config): error on unknown fields
Rather than silently ignoring config fields, fail if unknown fields are
encountered
@@ -165,7 +165,7 @@ impl Default for Config {
/// Parameters for a pre-opened file descriptor
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
-#[serde(tag = "kind")]
+#[serde(tag = "kind", deny_unknown_fields)]
pub enum File {
/// File descriptor of `/dev/null`
#[serde(rename = "null")]
