lib.rs (713B)
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 cursor; 8 mod error; 9 mod exact_delivery; 10 mod profile; 11 mod relay; 12 mod sink; 13 mod socket_write; 14 mod source; 15 mod source_ingress; 16 mod source_wire; 17 mod status; 18 mod subscription; 19 20 pub use client::{Config, NostrTransport, ReconnectBackoff}; 21 pub use cursor::RelayCursor; 22 pub use error::Error; 23 pub use profile::{RelayAccess, RelayEndpoint, RelayProfile, RelayProfileKind}; 24 pub use relay::{RelayUrl, RelayUrlPolicy}; 25 pub use sink::PreparedDelivery; 26 pub use status::{ 27 RelayAggregateState, RelayCapabilityEvidence, RelayEvidenceState, RelayStatus, 28 RelayStatusReport, 29 };