2 releases

0.1.1 Dec 15, 2020
0.1.0 Dec 1, 2020

#6 in #conn

Apache-2.0

73KB
1.5K SLoC

Client of ironmq.

Usage

use ironmq_client::*;

async fn client() -> Result<()> {
    let conn = connect("127.0.0.1:5672".to_string()).await?;
    open(&conn, "/".into()).await?;
    channel_open(&conn, 1).await?;
    basic_publish(&conn, 1, "exchange", "routing", "Hello".into()).await?;
    close(&conn).await?;

    Ok(())
}

Dependencies

~9–17MB
~217K SLoC