nostr-rs-relay

My dev fork of nostr-rs-relay
git clone git://jb55.com/nostr-rs-relay
Log | Files | Refs | README | LICENSE

commit 7933abaa4812e737be998108cefac4d7394b5d9a
parent 9b959e101252eed3d8787ceb6bb69fd0ced3c6ec
Author: Greg Heartsfield <scsibug@imap.cc>
Date:   Sun, 19 Dec 2021 16:18:03 -0600

fix: allow unknown fields, like author

Diffstat:
Msrc/subscription.rs | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git 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<String>,