Cargo Features

[dependencies]
libmqm-sys = { version = "0.7.0", default-features = false, features = ["pregen", "dlopen2", "link", "link_mqm", "link_api", "mqi_helpers", "pcf", "exits", "mqai", "docsrs", "bindgen", "versiongen", "mqc_9_2_0_0", "mqc_9_3_0_0", "mqc_9_3_1_0", "mqc_9_3_2_0", "mqc_9_3_3_0", "mqc_9_3_4_0", "mqc_9_3_5_0", "mqc_9_4_0_0", "mqc_9_4_1_0", "mqc_9_4_2_0", "mqc_latest"] }
default = bindgen, link, mqc_9_2_0_0, mqi_helpers, versiongen

These default features are set whenever libmqm-sys is added without default-features = false somewhere in the dependency tree.

pregen = bindgen, exits, mqai, mqc_latest, pcf, versiongen

Generate the bindings and save them in the src folder

dlopen2 docsrs?

Enable runtime loading of the MQI library using dlopen2

Enables dlopen2 and libc

Affects libmqm-sys::dlopen2

Link the MQI library at compile time

Affects libmqm-sys::link

mqi_helpers default

Compile the string and stuct initialisers from the MQI C headers

pcf docsrs? pregen?

Enable structures for PCF

exits docsrs? pregen?

Enable structures for exits

mqai docsrs? pregen?

Enable structures and constants for MQAI

Affects function::Mqai

docsrs = dlopen2, exits, link_api, mqai, mqc_latest, pcf
bindgen build default pregen? = versiongen

Use bindgen to generate bindings

Enables bindgen ^0.70.1

Affects libmqm-sys::lib

versiongen default bindgen pregen?

Generate version file from MQC library

Affects libmqm-sys::version

mqc_9_2_0_0 default mqc_9_3_0_0?

Minimum MQ client version 9.2.0.0

mqc_9_3_0_0 mqc_9_3_1_0? = mqc_9_2_0_0

Minimum MQ client version 9.3.0.0

mqc_9_3_1_0 mqc_9_3_2_0? = mqc_9_3_0_0

Minimum MQ client version 9.3.1.0

mqc_9_3_2_0 mqc_9_3_3_0? = mqc_9_3_1_0

Minimum MQ client version 9.3.2.0

mqc_9_3_3_0 mqc_9_3_4_0? = mqc_9_3_2_0

Minimum MQ client version 9.3.3.0

mqc_9_3_4_0 mqc_9_3_5_0? = mqc_9_3_3_0

Minimum MQ client version 9.3.4.0

mqc_9_3_5_0 mqc_9_4_0_0? = mqc_9_3_4_0

Minimum MQ client version 9.3.5.0

mqc_9_4_0_0 mqc_9_4_1_0? = mqc_9_3_5_0

Minimum MQ client version 9.4.0.0

mqc_9_4_1_0 mqc_9_4_2_0? = mqc_9_4_0_0

Minimum MQ client version 9.4.1.0

mqc_9_4_2_0 mqc_latest? = mqc_9_4_1_0

Minimum MQ client version 9.4.2.0

mqc_latest docsrs? pregen? = mqc_9_4_2_0

Minimum MQ client version to the latest released