TCP transport for mezzenger.
https://crates.io/crates/mezzenger-tcp
Despite its name this crate supports other transports as well as long as they implement
AsyncRead
and AsyncWrite
traits.
Add dependencies to Cargo.toml
:
```toml [dependencies]
serde = { version = "1", features = ["derive"] } kodec = { version = "0.1.0", features = ["binary"] } # or json or different one from another crate... mezzenger = "0.1.3" mezzenger-tcp = "0.1.1" ```
See example code here.