Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paddor/rbnng
https://github.com/paddor/rbnng
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/paddor/rbnng
- Owner: paddor
- License: mit
- Created: 2021-11-27T19:30:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-18T23:08:57.000Z (6 months ago)
- Last Synced: 2024-10-07T04:42:09.011Z (3 months ago)
- Language: C
- Size: 36.1 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RBNNG - nng for ruby
[nng](https://nng.nanomsg.org/) is a lightweight, broker-less messaging library.
This gem provides an API to interact with nng using a Ruby C extension.## Installing
1. Install nng (consult your distro). If using Homebrew
```
brew install nng
```1. If nng is installed outside of `$PATH`, you can specify its location.
e.g. for homebrew on linux
```
gem install nng -- \
--with-nng-lib=$HOME/.linuxbrew/Cellar/nng/1.5.2/lib \
--with-nng-include=$HOME/.linuxbrew/Cellar/nng/1.5.2/include
```Use `gem install nng --pre` if trying to install an unreleased version.
## Examples
Examples can be found under the [demos](demos/) directory.
## Todo
- General
- [x] Better error handling
- [ ] Add configuration options
- [ ] RAW Req0/Rep0 sockets for async communication- Protocols
- [x] Req0/Rep0
- [x] Pair0/Pair1
- [x] Pub0/Sub0
- [x] Bus0
- [x] Survey0
- [x] Pipeline0