erickt / rust-zmq

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

zmq version #177

Closed kpp closed 5 years ago

kpp commented 7 years ago

In docs it is said that rust-zmq requires ZeroMQ 3.2 or newer, however it requires 4.1 or newer. There is a problem linking zmq_has function, which appears only in 4.1 version.

see: https://docs.rs/crate/zmq/0.8.1/builds/44848

kpp commented 7 years ago

In my project I fixed that with

[dependencies.zmq]
version = "0.8"
default-features = false

Should't feature zmq_has be disabled by default?

rotty commented 7 years ago

@kpp I don't think so, I'll address this via adjusting the documentation accordingly. Thanks for exposing this issue.

vimmerru commented 7 years ago

I have the same issue on any RHEL based repo with EPEL. It is better to avoid features like this by default.