stan 0.0.3

NATS Streaming client based on official NATS rust client
Documentation

stan-rs

NATS Streaming client wrapper built on top of NATS.rs

Just a very early prototype.

Only supports publishing for now.

Example useage:

use std::io;

fn main() -> io::Result<()> {
    let nc = nats::connect("nats://127.0.0.1:4222")?;
    let client = stan::connect(nc, "test-cluster", "rust-client-1")?;

    client.publish("foo", "hello from rust!")
}