3 releases
0.1.2 | Jan 7, 2021 |
---|---|
0.1.1 | Apr 19, 2018 |
0.1.0 | Apr 19, 2018 |
#12 in #push-notifications
5KB
Push More: Instantly send notifications through Telegram
This is a Rust crate for the Push More service to easily send notifications through Telegram.
Usage
Add this to your Cargo.toml
:
[dependencies]
pushmore = "0.1"
and this to your crate root:
extern crate pushmore;
use pushmore::PushMore;
and then you can use it as follows:
let client = PushMore::new(); // This will use the key stored in the PUSH_MORE_KEY environment variable.
// or
let client = PushMore::new_with_key("<pushmore key>".to_string());
client.send("hello!".to_string());
TODO
- Switch out
reqwest
for underlyinghyper
library to lighten the dependencies. - Add tests
Dependencies
~2MB
~61K SLoC