Rust NNG (Nanomsg-Next-Generation):
NNG, like its predecessors nanomsg (and to some extent ZeroMQ), is a lightweight, broker-less library, offering a simple API to solve common recurring messaging problems, such as publish/subscribe, RPC-style request/reply, or service discovery. The API frees the programmer from worrying about details like connection management, retries, and other common considerations, so that they can focus on the application instead of the plumbing.
Repository | Crate | Details |
---|---|---|
__nng_async / runng__ | high-level wrapper for NNG | |
nng-sys | bindings to native NNG library | |
__runng_examples__ | Additional examples | |
__runng_thrift__ | NNG as Apache Thrift transport |
In Cargo.toml
:
runng = "0.3"
Requirements:
PATH
build-bindgen
feature to run bindgengit submodule update --init --recursive
cargo build