#wxpusher #send #发送微信报警 #

xwarn

用 wxpusher 发送微信报警

1 个不稳定版本

0.0.10 2023年9月15日

#235 in #send

BSL-1.0 许可证

10KB
192

xwarn : 用 wxpusher 发送微信报警

使用 wxpusher 发送微信报警

使用 https://wxpusher.zjiecode.com 发送微信警告

→ tests/main.rs

use anyhow::Result;

#[tokio::test]
async fn main() -> Result<()> {
  xwarn::send("test!").await?;
  Ok(())
}

运行

→ out.txt


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