/nng-c-sys

Rust FFI Bindings to nng

Primary LanguageCBoost Software License 1.0BSL-1.0

nng-c-sys

Actions Status Crates.io Documentation

Bindings to nng.

Version corresponds to C library

High level bindings: 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 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