1 个不稳定版本
0.0.10 | 2023年9月15日 |
---|
#235 in #send
10KB
192 行
xwarn : 用 wxpusher 发送微信报警
使用 wxpusher 发送微信报警
使用 https://wxpusher.zjiecode.com 发送微信警告
use anyhow::Result;
#[tokio::test]
async fn main() -> Result<()> {
xwarn::send("test!").await?;
Ok(())
}
运行
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
running 1 test
test main ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
依赖
~4–19MB
~246K SLoC