xwarn

Crates.ioxwarn
lib.rsxwarn
version0.0.10
sourcesrc
created_at2023-09-15 03:35:41.194236
updated_at2023-09-15 03:35:41.194236
description用 wxpusher 发送微信报警
homepagehttps://github.com/xxai-art/xwarn
repositoryhttps://github.com/xxai-art/xwarn
max_upload_size
id973445
size10,053
xxai.art (xxaier)

documentation

README

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

Commit count: 20

cargo fmt