Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #64 from CurrySoftware/master
Browse files Browse the repository at this point in the history
Fail on unknown fields in `package.metadata.deb`
  • Loading branch information
kornelski authored Apr 13, 2018
2 parents d488fe2 + 6b44285 commit af42795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ struct CargoBin {
}

#[derive(Clone, Debug, Deserialize, Default)]
#[serde(rename_all = "kebab-case")]
#[serde(rename_all = "kebab-case", deny_unknown_fields)]
struct CargoDeb {
pub maintainer: Option<String>,
pub copyright: Option<String>,
Expand Down

0 comments on commit af42795

Please sign in to comment.