-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathlib.rs
44 lines (39 loc) · 1.23 KB
/
lib.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! # PubNub Core
//!
//! Provides the common high-level logic for PubNub clients.
//!
//! - Fully `async`/`await` ready.
//! - Modular, bring your own [`Transport`] and [`Runtime`].
//! - Multiplexes subscription polling for multiple logical streams over a
//! single transport invocation to optimize kernel network subsystem pressure.
//!
//! Build your own client, or use preconfigured [`pubnub-hyper`](pubnub-hyper).
// TODO: Remove these when minimum Rust version >1.59.0, when the name changed.
// TODO: `broken_intra_doc_links` below should become `rustdoc::broken_intra_doc_links`.
#![allow(unknown_lints)]
#![allow(renamed_and_removed_lints)]
#![deny(
clippy::all,
clippy::pedantic,
missing_docs,
missing_debug_implementations,
missing_copy_implementations,
broken_intra_doc_links
)]
#![allow(clippy::doc_markdown)]
#![forbid(unsafe_code)]
pub use crate::builder::Builder;
pub use crate::pubnub::PubNub;
pub use crate::runtime::Runtime;
pub use crate::subscription::Subscription;
pub use crate::transport::{Service as TransportService, Transport};
pub use json;
pub use async_trait::async_trait;
mod builder;
pub mod data;
mod pubnub;
mod runtime;
mod subscription;
mod transport;
#[cfg(feature = "mock")]
pub mod mock;