From 7933abaa4812e737be998108cefac4d7394b5d9a Mon Sep 17 00:00:00 2001 From: Greg Heartsfield Date: Sun, 19 Dec 2021 16:18:03 -0600 Subject: [PATCH] fix: allow unknown fields, like author --- src/subscription.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/subscription.rs b/src/subscription.rs index aa21847..c6d6488 100644 --- a/src/subscription.rs +++ b/src/subscription.rs @@ -16,7 +16,6 @@ pub struct Subscription { /// element can be present if it should be used in filtering, or /// absent ([`None`]) if it should be ignored. #[derive(Serialize, Deserialize, PartialEq, Debug, Clone)] -#[serde(deny_unknown_fields)] pub struct ReqFilter { /// Event hash pub id: Option,