lib.rs (798B)
1 #![doc = include_str!("../README.md")] 2 #![forbid(unsafe_code)] 3 #![cfg_attr(coverage_nightly, feature(coverage_attribute))] 4 5 mod auth; 6 mod client; 7 mod connections; 8 mod cursor; 9 mod error; 10 mod exact_delivery; 11 mod host_time; 12 mod profile; 13 mod relay; 14 mod session_socket; 15 mod sink; 16 mod socket_write; 17 mod source; 18 mod source_ingress; 19 mod source_original; 20 21 mod status; 22 mod subscription; 23 #[cfg(test)] 24 mod test_host; 25 26 pub use client::{Config, NostrTransport, ReconnectBackoff}; 27 pub use cursor::RelayCursor; 28 pub use error::Error; 29 pub use profile::{RelayAccess, RelayEndpoint, RelayProfile, RelayProfileKind}; 30 pub use relay::{RelayUrl, RelayUrlPolicy}; 31 pub use sink::PreparedDelivery; 32 pub use status::{ 33 RelayAggregateState, RelayCapabilityEvidence, RelayEvidenceState, RelayStatus, 34 RelayStatusReport, 35 };