notify-me
Send notifications to email or communication software, such as WeChat. It is very suitable for developers to receive notifications of their software on mobile phones.
Features
- Send notifications to your email
- Send notifications to your WeChat
Examples
To use this library, add the following to your Cargo.toml:
notify-me = "0.2"
Send notifications to WeChat
Note that, this crate use xtuis to implement WeChat notifications.
Hence you have to first follow the WeChat official account of xtuis and get the token.
use ;
let notifier = new.unwrap;
notifier.notify.unwrap;
Send notifications to email
use ;
let notifier = new.unwrap;
notifier.notify.unwrap;
Licence
This program is distributed under the terms of the MIT license.
See LICENSE for details.