Skip to content

Commit

Permalink
- Remove serde(deny_unknown_fields) in z2m::api::Definition (fixes #24)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrivers committed Sep 6, 2024
1 parent 44e52ac commit 86064c0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/z2m/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ impl Device {
}

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(deny_unknown_fields)]
pub struct Definition {
pub description: String,
pub exposes: Vec<Expose>,
Expand Down

0 comments on commit 86064c0

Please sign in to comment.