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
builderfeature is set by default wheneverarzmqis added withoutsomewhere in the dependency tree.default-features = false - 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
Required by curve_keygen and curve_public binaries
- gssapi
-
enables GSS-API (Kerbereos V) authoriazazion
- pgm
-
enables PGM transportation capability if available on the system.
- norm = draft-api
-
enables NORM transportation capability if available on the system.
- vmci
-
enables the VMCI transportation capability
- 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