1#![forbid(unsafe_code)]
8#![warn(missing_docs)]
9#![warn(rustdoc::bare_urls)]
10#![warn(clippy::large_futures)]
11#![allow(unknown_lints)] #![allow(clippy::arc_with_non_send_sync)]
13#![allow(clippy::mutable_key_type)] #![cfg_attr(docsrs, feature(doc_auto_cfg))]
15#![cfg_attr(feature = "all-nips", doc = include_str!("../README.md"))]
16
17#[doc(hidden)]
18pub use async_utility;
19#[doc(hidden)]
20pub use nostr::{self, *};
21#[doc(hidden)]
22#[cfg(all(target_arch = "wasm32", feature = "indexeddb"))]
23pub use nostr_indexeddb::WebDatabase;
24#[doc(hidden)]
25#[cfg(feature = "lmdb")]
26pub use nostr_lmdb::NostrLMDB;
27#[doc(hidden)]
28#[cfg(feature = "ndb")]
29pub use nostr_ndb::{self as ndb, NdbDatabase};
30#[doc(hidden)]
31pub use nostr_relay_pool::{
32 self as pool, AtomicRelayServiceFlags, Relay, RelayConnectionStats, RelayOptions, RelayPool,
33 RelayPoolNotification, RelayPoolOptions, RelayServiceFlags, RelayStatus,
34 SubscribeAutoCloseOptions, SubscribeOptions, SyncDirection, SyncOptions,
35};
36
37pub mod client;
38mod gossip;
39pub mod prelude;
40
41pub use self::client::{Client, ClientBuilder, ClientOptions};