Rants
An async NATS client library for the Rust programming language.
The client aims to be an ergonomic, yet thin, wrapper over the NATS client protocol. The easiest way to learn to use the client is by reading the NATS client protocol documentation. The main entry point into the library's API is the Client
struct.
TLS support is powered by the native-tls
crate.
Example
use StreamExt;
use Client;
async
Development
The integration test suite requires the NATS_PATH
environment variable point to the NATS server executable:
> cargo test
The env_logger
crate is used in integration tests. To enable it and run a single test run:
> RUST_LOG=rants=trace cargo test ping_pong