https://github.com/jeikabu/runng
https://github.com/jeikabu/runng
nanomsg nng rust-lang
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jeikabu/runng
- Owner: jeikabu
- License: mit
- Created: 2018-09-28T03:14:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-07T18:36:47.000Z (about 1 year ago)
- Last Synced: 2025-03-23T23:15:21.320Z (2 months ago)
- Topics: nanomsg, nng, rust-lang
- Language: Rust
- Size: 227 KB
- Stars: 25
- Watchers: 3
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nng_async / RuNNG
Rust [NNG (Nanomsg-Next-Generation)](https://github.com/nanomsg/nng):
> 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.
[](https://travis-ci.org/jeikabu/runng)
[](https://codecov.io/gh/jeikabu/runng)
[](https://docs.rs/crate/runng/)|Repository|Crate|Details|
|-|-|-
| __nng_async__ / __runng__ | [](https://crates.io/crates/nng_async) | high-level wrapper for NNG
| [__nng-sys__](https://github.com/jeikabu/nng-rust) | [](https://crates.io/crates/nng-sys) | bindings to native NNG library
| [__runng_examples__](https://github.com/jeikabu/runng_examples) | | Additional examples
| [__runng_thrift__](https://github.com/jeikabu/runng_thrift) | [](https://crates.io/crates/runng-thrift) | NNG as [Apache Thrift](https://github.com/apache/thrift) transport## Usage
In `Cargo.toml`:
```toml
runng = "0.3"
```Requirements:
- [cmake](https://cmake.org/) in `PATH`
- On Linux/macOS: default generator is "Unix Makefiles" and should _just work_
- On Windows: default generator is usually Visual Studio
- _Optional_ libclang needed if using `build-bindgen` feature to run [bindgen](https://rust-lang.github.io/rust-bindgen/requirements.html)## Build
1. Update submodules: `git submodule update --init --recursive`
1. Install requirements
1. `cargo build`