8 releases

1.9.0-beta.1 Oct 12, 2024
1.8.0-beta.7 May 29, 2024

#224 in WebSocket

Download history 9/week @ 2024-08-26 3/week @ 2024-09-02 2/week @ 2024-09-16 29/week @ 2024-09-23 1/week @ 2024-09-30 170/week @ 2024-10-07 31/week @ 2024-10-14 7/week @ 2024-10-21 8/week @ 2024-11-04

63 downloads per month
Used in nng-c

BSL-1.0 license

6MB
156K SLoC

C 138K SLoC // 0.1% 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 AsciiDoc 31 SLoC Batch 16 SLoC Bitbake 7 SLoC

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

No runtime deps