This is a Rust crate for the Push More service to easily send notifications through Telegram.
Add this to your Cargo.toml
:
toml
[dependencies]
pushmore = "0.1"
and this to your crate root:
rust
extern crate pushmore;
use pushmore::PushMore;
and then you can use it as follows:
```rust
let client = PushMore::new(); // This will use the key stored in the PUSHMOREKEY environment variable.
// or
let client = PushMore::newwithkey("
client.send("hello!".to_string()); ```
reqwest
for underlying hyper
library to lighten the dependencies.