From 63961eedbbc315e94134da2c61cd98e17ae0a7b6 Mon Sep 17 00:00:00 2001 From: Yuki Kishimoto Date: Tue, 17 Oct 2023 11:41:44 +0200 Subject: [PATCH] nostr: export `FiltersMatchEvent` trait --- crates/nostr/src/lib.rs | 3 ++- crates/nostr/src/message/mod.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/nostr/src/lib.rs b/crates/nostr/src/lib.rs index 7e0b8f214..048142451 100644 --- a/crates/nostr/src/lib.rs +++ b/crates/nostr/src/lib.rs @@ -52,7 +52,8 @@ pub use self::event::{ }; pub use self::key::Keys; pub use self::message::{ - Alphabet, ClientMessage, Filter, RawRelayMessage, RelayMessage, SubscriptionId, + Alphabet, ClientMessage, Filter, FiltersMatchEvent, RawRelayMessage, RelayMessage, + SubscriptionId, }; pub use self::nips::nip19::{FromBech32, ToBech32}; pub use self::types::{ChannelId, Contact, Entity, Metadata, Profile, Timestamp, UncheckedUrl}; diff --git a/crates/nostr/src/message/mod.rs b/crates/nostr/src/message/mod.rs index de0c2f9ef..94b751dfe 100644 --- a/crates/nostr/src/message/mod.rs +++ b/crates/nostr/src/message/mod.rs @@ -11,7 +11,7 @@ pub mod subscription; pub use self::client::ClientMessage; pub use self::relay::{RawRelayMessage, RelayMessage}; -pub use self::subscription::{Alphabet, Filter, SubscriptionId}; +pub use self::subscription::{Alphabet, Filter, FiltersMatchEvent, SubscriptionId}; use crate::event; /// Messages error