calloop 0.9.3

A callback-based event loop
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# The full ZeroMQ event source code

This is the full source code for a Calloop event source based on a ZeroMQ socket. You might find it useful as a kind of reference. Please read the [disclaimer at the start of this chapter](ch03-00-a-full-example-zeromq.md#disclaimer) if you skipped straight here!

```rust
{{#rustdoc_include zmqsource.rs}}
```

Dependencies are only `calloop` and `zmq`:

```toml
[dependencies]
calloop = "0.8"
zmq = "0.9"
```