pushmore

Crates.iopushmore
lib.rspushmore
version0.1.2
sourcesrc
created_at2018-04-19 06:47:17.150777
updated_at2021-01-07 11:06:50.738261
descriptionEasily send notifications to Telegram
homepagehttps://github.com/daniellockyer/pushmore-rust-client
repositoryhttps://github.com/daniellockyer/pushmore-rust-client
max_upload_size
id61353
size5,814
Daniel Lockyer (daniellockyer)

documentation

README

Push More: Instantly send notifications through Telegram

This is a Rust crate for the Push More service to easily send notifications through Telegram.

Build Status Docs Status On crates.io MIT licensed

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 underlying hyper library to lighten the dependencies.
  • Add tests
Commit count: 10

cargo fmt