3 releases

0.1.8+4.3.2 May 9, 2020
0.1.7+4.3.2 Sep 2, 2019
0.1.6 Jul 8, 2019
0.1.5 Jun 27, 2019
0.1.2 May 26, 2019

#8 in #cffi

45 downloads per month
Used in 2 crates (via libzmq)

MIT/Apache

37KB
1K SLoC

Apache 2.0 licensed MIT licensed

libzmq-sys - Rust raw cffi bindings to libzmq

Based on this guide as well as zmq-sys.

Dependencies

This crate uses pre-generated bindings to libzmq. To generate your own bindings, use the renew-bindings feature. This requires Clang 3.9+.

Build and Linking.

The lib is built and linked statically.

Build Type

The lib is built depending on the profile (either release or debug).

OUTPUT ENV Variables

These are the output ENV variables of the cargo build script:

  • DEP_ZMQ_INCLUDE is the directory which contains the zmq.h header.
  • DEP_ZMQ_ROOT is the root of the OUT_DIR.
  • DEP_ZMQ_PKG_CONFIG_PATH is the path to the directory containing the libzmq.pc package config fileo

Dependencies

~0–5MB
~33K SLoC