Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/doumanash/nng-c-sys
- Owner: DoumanAsh
- License: bsl-1.0
- Created: 2024-05-02T12:11:39.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-06-02T14:27:03.000Z (5 months ago)
- Last Synced: 2024-10-11T14:17:17.379Z (26 days ago)
- Topics: nanomsg, nng
- Language: C
- Homepage:
- Size: 4.84 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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