Cargo Features

[dependencies]
nng = { version = "1.0.1", default-features = false, features = ["build-nng", "ffi-module"] }
default = build-nng

The build-nng feature is set by default whenever nng is added without default-features = false somewhere in the dependency tree.

build-nng default

Enables build-nng of nng-sys

nng-sys:

Whether or not to build the NNG library

ffi-module

NNG has 3 features without comments.