Cargo Features

[dependencies]
arzmq = { version = "0.6.3", default-features = false, features = ["builder", "futures", "draft-api", "curve", "gssapi", "pgm", "norm", "vmci", "examples-tokio", "examples-smol", "examples-futures", "examples-draft-api"] }
default = builder

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

builder default

enable Builder API for the various socket types and the ZMQ context.

Enables derive_builder and serde

futures examples-futures? examples-smol? examples-tokio?

enable async futures for send and receive operations

Enables async-trait and futures

Affects socket::Receiver.recv_msg_async, socket::MultipartReceiver.recv_multipart_async, socket::Sender.send_msg_async, socket::MultipartSender.send_multipart_async, monitor::MonitorReceiver.recv_monitor_event_async

draft-api examples-draft-api? norm?

enables Draft API features in the underlying libzmq.

Enables draft-api of arzmq-sys

Affects socket::ReconnectStop, router::RouterNotify

curve

enables CURVE authorization through libsodium

Enables curve of arzmq-sys

Required by curve_keygen and curve_public binaries

gssapi

enables GSS-API (Kerbereos V) authoriazazion

Enables gssapi of arzmq-sys

pgm

enables PGM transportation capability if available on the system.

Enables pgm of arzmq-sys

norm = draft-api

enables NORM transportation capability if available on the system.

Enables norm of arzmq-sys

vmci

enables the VMCI transportation capability

Enables vmci of arzmq-sys

examples-tokio = futures

Enables tokio

for async examples

examples-smol = futures

Enables smol and smol-macros

examples-futures = futures

Enables executor and thread-pool of futures

examples-draft-api = draft-api

Enables draft-api of arzmq-sys