Cargo Features

nng-c has no features set by default.

[dependencies]
nng-c = { version = "1.9.0-beta.1", features = ["http", "websocket", "tls", "log", "tracing"] }
http

Enables HTTP transport code

Enables http of nng-c-sys

websocket

Enables websocket transport code

Enables websocket of nng-c-sys

tls

Enables TLS transport code

Enables tls of nng-c-sys

Features from optional dependencies

log implicit feature

Enables log

log:

A lightweight logging facade for Rust

Affects utils::enable_log_logging

tracing implicit feature

Enables tracing

tracing:

Application-level tracing for Rust

Affects utils::enable_tracing