1 unstable release
0.1.2 | Aug 4, 2024 |
---|---|
0.1.1 |
|
0.1.0 |
|
#379 in HTTP client
120 downloads per month
13KB
214 lines
SimplePush: A Rust client for simplepush.io
A Rust client for the SimplePush API
Adding the client to your project
cargo add simplepush-rs
Sending a simple notification
let result = SimplePush::send(Message::new(
"SIMPLE_PUSH_KEY",
Some("title"),
"test message",
None,
None,
));
Sending a simple notification with encryption
let result = SimplePush::send(Message::new(
"SIMPLE_PUSH_KEY",
Some("title"),
"test message",
None,
None,
"ENCRYPTION_KEY",
Some("SALT"),
));
Dependencies
~7–18MB
~247K SLoC