| 1 | //! Web Push for malice: the notification payload both servers send, and with |
| 2 | //! the `send` feature the VAPID key, RFC 8291 encryption and the HTTP sender. |
| 3 | |
| 4 | pub mod payload; |
| 5 | |
| 6 | #[cfg(feature = "send")] |
| 7 | pub mod ece; |
| 8 | #[cfg(feature = "send")] |
| 9 | pub mod env; |
| 10 | #[cfg(feature = "send")] |
| 11 | pub mod send; |
| 12 | #[cfg(feature = "send")] |
| 13 | pub mod vapid; |
| 14 | |
| 15 | pub use payload::{Content, Notice}; |
| 16 | #[cfg(feature = "send")] |
| 17 | pub use send::{Allowlist, Message, Outcome, Sender, Subscription, Urgency}; |
| 18 | #[cfg(feature = "send")] |
| 19 | pub use vapid::Vapid; |