This repository contains Rust bindings for the NNG library. Each crate is located in its own subdirectory and maintained independently.
A safe, idiomatic Rust wrapper for NNG. It
aims to provide an API that is similar to the original C library, making it easy
to adapt existing examples. For more details, please see the nng crate's
README.
This crate provides the raw, unsafe FFI (Foreign Function Interface) bindings
to the NNG C library. It is responsible for compiling NNG from source and
linking it, offering various features to control the build process. This crate
is intended for developers who need direct access to the NNG C API or are
building higher-level wrappers like nng. For more details, please see the
nng-sys crate's README.
Safe, async Rust bindings for NNG focused on native integration with
NNG's asynchronous API mechanisms (i.e., the _aio_ style functions).
Primarily uses synchronization mechanisms from tokio, and once this
lands will be usable without
the rest of tokio (crucially, the runtime bits). For more details,
please see the anng crate's README.