https://github.com/doumanash/nng-c-sys
Rust FFI Bindings to nng
https://github.com/doumanash/nng-c-sys
nanomsg nng
Last synced: 2 months 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 (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-02T03:33:29.000Z (4 months ago)
- Last Synced: 2025-02-28T20:25:48.564Z (3 months ago)
- Topics: nanomsg, nng
- Language: C
- Homepage:
- Size: 5.18 MB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nng-c-sys
[](https://github.com/DoumanAsh/nng-c-sys/actions)
[](https://crates.io/crates/nng-c-sys)
[](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.10.0/nng_stat.5.html) for details.### TLS
When `tls` feature is enabled this crate compiles mbedtls 2.28.9 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