honk-honk 0.4.1

Official Rust client for Honk! Honk! (honk-honk.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
12
13
14
//! cargo run --example blocking --features blocking   (with HONK_URL and HONK_KEY set)
use honk::blocking::Honk;

fn main() -> honk::Result<()> {
    let honk = Honk::from_env()?;
    let accepted = honk
        .beep(
            "Hello from sync Rust",
            "Not a single .await was written for this honk.",
        )
        .send()?;
    println!("stored as {}", accepted.id);
    Ok(())
}