zeromq / zmq.rs

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

Use Bytes inside PeerIdentity #164

Closed andrewwhitehead closed 2 years ago

andrewwhitehead commented 2 years ago

This makes cloning of PeerIdentity (which is performed quite often) much cheaper.

Also adds a from_slice method and a FromStr implementation.

Alexei-Kornienko commented 2 years ago

LGTM