7 releases

new 1.8.0-beta.7 May 29, 2024
1.8.0-beta.4 May 21, 2024
1.8.0-beta.3 May 18, 2024
1.8.0-beta.2 May 11, 2024
1.8.0-beta.1 May 7, 2024

#67 in WebSocket

Download history 358/week @ 2024-05-06 151/week @ 2024-05-13 217/week @ 2024-05-20

726 downloads per month

BSL-1.0 license

7MB
171K SLoC

C 137K SLoC // 0.1% comments AsciiDoc 17K SLoC // 0.2% comments Visual Studio Project 10K SLoC Python 3K SLoC // 0.3% comments Rust 2.5K SLoC // 0.0% comments Shell 743 SLoC // 0.3% comments Visual Studio Solution 743 SLoC Perl 614 SLoC // 0.1% comments Batch 16 SLoC Bitbake 7 SLoC TCL 4 SLoC

nng-c-sys

Actions Status Crates.io Documentation

Bindings to nng.

Version corresponds to C library

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

No runtime deps