mod error;
mod topic_filter;
mod transport;
#[cfg(feature = "waku")]
mod waku;
pub const CONVERSATION_VERSION: &str = "1";
pub const APP_MSG_SUBTOPIC: &str = "app_msg";
pub const WELCOME_SUBTOPIC: &str = "welcome";
pub const SUBTOPICS: [&str; 2] = [APP_MSG_SUBTOPIC, WELCOME_SUBTOPIC];
pub use error::DeliveryServiceError;
pub use topic_filter::TopicFilter;
pub use transport::{DeliveryService, InboundPacket, OutboundPacket, SharedDeliveryService};
#[cfg(feature = "waku")]
pub use waku::{
WakuConfig, WakuDeliveryService, WakuStartResult, build_content_topic, build_content_topics,
pubsub_topic,
};