erickt / rust-zmq

Rust zeromq bindings.
Apache License 2.0
899 stars 194 forks source link

`zmq_has` should return a plain `bool` #266

Open rotty opened 5 years ago

rotty commented 5 years ago

Now that we require libzmq 4.1+, zmq::has() always returns Some(bool), so it should return a plain bool, without wrapping it in an option. This is a breaking change, so it needs to be done in the next API-breaking release (i.e., 0.10.0 at the time of writing).