rs_notifier/lib.rs
1#![allow(dead_code)]
2#![allow(unused_imports)]
3#[macro_use]
4extern crate ureq;
5
6mod notification;
7mod slack_notify;
8
9
10use notification::*;
11use slack_notify::SlackNotify;
12
13
14
15#[cfg(test)]
16mod tests {
17 use super::notification::Notifier;
18 use super::slack_notify::SlackNotify;
19
20
21 #[test]
22 fn it_works() {
23 let slack = SlackNotify::new("");
24 let _ = slack.notify("test test");
25 }
26}
27
28
29