Crates.io | mezzenger-tcp |
lib.rs | mezzenger-tcp |
version | 0.1.3 |
source | src |
created_at | 2022-11-11 14:41:16.913533 |
updated_at | 2023-09-13 08:09:14.108111 |
description | TCP mezzenger transport. |
homepage | https://github.com/zduny/mezzenger/tree/master/mezzenger-tcp |
repository | https://github.com/zduny/mezzenger |
max_upload_size | |
id | 712882 |
size | 70,957 |
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
:
[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.