atagen

malice

public
Star0
Watch0
d1818305ffd6912e4b9ac7b706c43eccd01bdd21
2
ssh://brewery@pls.lobotomise.me:33/atagen/malice.git
crates/malice-push/src/lib.rsRust19 lines516 B
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;