Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/doumanash/nng-c-sys

Rust FFI Bindings to nng
https://github.com/doumanash/nng-c-sys

nanomsg nng

Last synced: 9 days ago
JSON representation

Rust FFI Bindings to nng

Awesome Lists containing this project

README

        

# nng-c-sys

[![Actions Status](https://github.com/DoumanAsh/nng-c-sys/workflows/Rust/badge.svg)](https://github.com/DoumanAsh/nng-c-sys/actions)
[![Crates.io](https://img.shields.io/crates/v/nng-c-sys.svg)](https://crates.io/crates/nng-c-sys)
[![Documentation](https://docs.rs/nng-c-sys/badge.svg)](https://docs.rs/crate/nng-c-sys/)

Bindings to [nng](https://github.com/nanomsg/nng).

Version corresponds to C library

High level bindings: [nng-c](https://github.com/DoumanAsh/nng-c)

## Features

- `http` - Builds with http code ON
- `websocket` - Builds with websocket code ON. Enables `http` alongside
- `tls` - Builds with TLS code ON
- `stats` - Builds with statistics collection. See [this](https://nng.nanomsg.org/man/v1.8.0/nng_stat.5.html) for details.

### TLS

When `tls` feature is enabled this crate compiles mbedtls 2.28.8 to bundle it together with `nng`

## Cross compilation

### Android

Specify environment variable `ANDROID_NDK_HOME` which points too root of NDK installation where to look for toolchain file