#zeromq #libzmq

build zeromq-src

Source code and logic to build ZeroMQ from source

17 releases

0.3.4+4.3.5 Oct 17, 2024
0.3.3+4.3.5 Jul 8, 2024
0.3.2+4.3.5 May 16, 2024
0.3.1+4.3.5 Jan 12, 2024
0.1.7+4.3.2 Jul 8, 2019

#116 in Math

Download history 12989/week @ 2024-07-21 12925/week @ 2024-07-28 17135/week @ 2024-08-04 19577/week @ 2024-08-11 12092/week @ 2024-08-18 11844/week @ 2024-08-25 13033/week @ 2024-09-01 11746/week @ 2024-09-08 10272/week @ 2024-09-15 10850/week @ 2024-09-22 13000/week @ 2024-09-29 13185/week @ 2024-10-06 13362/week @ 2024-10-13 13367/week @ 2024-10-20 12865/week @ 2024-10-27 12236/week @ 2024-11-03

52,538 downloads per month
Used in 334 crates (3 directly)

MIT/Apache

2.5MB
61K SLoC

C++ 47K SLoC // 0.1% comments Visual Studio Project 5K SLoC C 3.5K SLoC // 0.1% comments M4 1.5K SLoC // 0.3% comments Automake 1.5K SLoC // 0.0% comments Visual Studio Solution 1K SLoC Shell 1K SLoC // 0.2% comments Rust 422 SLoC // 0.1% comments Forge Config 255 SLoC // 0.9% comments RPM Specfile 217 SLoC // 0.0% comments Batch 101 SLoC // 0.1% comments Bitbake 50 SLoC Python 40 SLoC // 0.3% comments

Contains (obscure autoconf code, 41KB) vendor/configure.ac

Apache 2.0 licensed MIT licensed

zeromq-src-rs - Source code and logic to build libzmq from source

This crate is intended to be consumed by a sys crate.

See testcrate-static for a usage example.

Dependencies

  • A c compiler.

Env Vars

  • DEP_ZMQ_INCLUDE is path to the include directory.
  • DEP_ZMQ_LIB is the path to the lib directory.
  • DEP_ZMQ_OUT is the path to the out directory (root).

Versioning

  • The master branch uses the libzmq latest_release branch and is considered a stable branch. When a stable release is published, the version will take the form of VERSION+BUILD_METADATA.

License

While libzmq is license under LGPL, it has a linking exception, which means that this crate does not need to conform to the usual LGPL conditions. Indeed this crate does not modify the source code in any way and simply allows linking to libzmq. To quote from the zeromq website:

ZeroMQ is safe for use in close-source applications. The LGPL share-alike terms do not apply to applications built on top of ZeroMQ. You do not need a commercial license. The LGPL applies to ZeroMQ's own source code, not your applications. Many commercial applications use ZeroMQ.

Thus this project is effectively licensed under either of

at your option.

Acknowledgments

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in zeromq-src-rs by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~1.7–8.5MB
~76K SLoC