zeromq / zmq.rs

A native implementation of ØMQ in Rust
https://crates.io/crates/zeromq
MIT License
1.16k stars 100 forks source link

Added basic SocketOptions struct #133

Closed Alexei-Kornienko closed 3 years ago

Alexei-Kornienko commented 3 years ago

This is related to #116.

Currently it's only enables user to set custom peer-identity if needed and passes options all around. Later we can add other options to this struct.

Some minor changes to ReadyCommand properties were required cause ZMQ_IDENTITY could be any byte vec and not guaranteed to be valid String