Description
zmq.rs is a native Rust implementation of ZeroMQ, the asynchronous messaging library that offers messaging patterns that look like Berkeley sockets but are fault tolerant. The project aims to provide a Rust alternative to the reference implementation that uses Rust's async ecosystem. It states that not all of ZeroMQ's features are implemented. The basic ZMTP protocol works and has been tested against the reference implementation. The supported transports are TCP and, on Unix only, IPC. The supported socket patterns are request-response with REQ, REP, DEALER and ROUTER, publish-subscribe with PUB, SUB, XPUB and XSUB, and pipeline with PUSH and PULL. The project supports the tokio runtime by default, plus async-std and async-dispatcher through feature flags. The README explains how to select a runtime and lists the transport flags. Examples are included in the repository, and you can generate the documentation with cargo doc. Contributions are welcome, and questions can be asked in the project's Discord channel.…
Highlights
- Native Rust implementation of ZeroMQ
- TCP and IPC transports
- Request-response, publish-subscribe and pipeline patterns
- Tokio, async-std and async-dispatcher runtimes
- Feature flags for transports and runtimes
Ratings & Reviews
No ratings yet
Be the first to rate Zmq.rs.
People also visit
Zmq.rs FAQ
What is zmq.rs?
A native Rust implementation of ZeroMQ, the asynchronous messaging library.
Is every ZeroMQ feature included?
No. The README says the codebase does not implement all of ZeroMQ's feature set.
Which socket patterns work?
REQ, REP, DEALER and ROUTER; PUB, SUB, XPUB and XSUB; and PUSH and PULL.
Which async runtime does it use?
Tokio by default. async-std and async-dispatcher are available through feature flags.
What are the best Zmq.rs alternatives?
Popular alternatives to Zmq.rs include Netmq, Nats.rs and Tun RS. See all Zmq.rs alternatives
