weirdnet_push/lib.rs
1#![doc = include_str!("../README.md")]
2#![warn(missing_docs)]
3
4pub mod api;
5#[cfg(feature = "client")]
6pub mod client;
7mod error;
8pub mod handle;
9#[cfg(feature = "relay-wake")]
10pub mod relaywake;
11#[cfg(feature = "server")]
12pub mod server;
13pub mod wake;
14
15#[cfg(feature = "client")]
16pub use client::PushClient;
17pub use error::{Error, Result};
18pub use handle::{ControlSecret, WakeCard, WakeHandle};
19pub use wake::{PAYLOAD_LEN, Payload96, PushKey, Reason, ReplayGuard, Wake};