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

xwarn

用 wxpusher 发送微信报警

1 unstable release

0.0.10 Sep 15, 2023

#202 in #send

BSL-1.0 license

10KB
192 lines

xwarn : 用 wxpusher 发送微信报警

wxpusher 发送微信报警

send weixin warn use https://wxpusher.zjiecode.com

→ tests/main.rs

use anyhow::Result;

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

run

→ 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

Dependencies

~4–15MB
~223K SLoC