Skip to content

Commit 5e823bc

Browse files
committed
add deny_unknown_fields for fortanix-vme metadata
1 parent 9c77af3 commit 5e823bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fortanix-vme/eif-tools/src/bin/ftxvme-runner-cargo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ struct CargoTomlMetadata {
9898
}
9999

100100
#[derive(Serialize, Deserialize, Debug)]
101-
#[serde(rename_all = "kebab-case", default)]
101+
#[serde(rename_all = "kebab-case", default, deny_unknown_fields)]
102102
#[rustfmt::skip] // contains long lines because of links and they may wrapped by mistake
103103
/// This config is mainly intended for args of ftxvme-elf2eif and nitro-cli run-enclave.
104104
/// See their args documentation for more info about these opts:

0 commit comments

Comments
 (0)