honk-me 0.2.0

Official Rust client for Honk (honk-me.app): send events from apps, jobs and CI to your phone, with retries and idempotency built in.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! cargo run --example blocking --features blocking   (with HONK_URL and HONK_KEY set)
use honk_me::blocking::Honk;

fn main() -> honk_me::Result<()> {
    let honk = Honk::from_env()?;
    let accepted = honk
        .beep("Backup finished", "nightly pg_dump took 42 s")
        .send()?;
    println!("stored as {}", accepted.id);
    Ok(())
}