[package]
edition = "2021"
rust-version = "1.82"
name = "libmqm-sys"
version = "0.10.2"
authors = ["Warren Spits <warren@advantic.au>"]
build = "build/main.rs"
links = "mqm"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "IBM® MQ Interface (MQI), Programmable Command Format (PCF) and MQ Administration Interface (MQAI) bindings"
readme = "README.md"
keywords = [
"message-queue",
"messaging",
]
categories = [
"external-ffi-bindings",
"asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/advantic-au/libmqm-sys"
[package.metadata.docs.rs]
features = ["docsrs"]
no-default-features = true
default-target = "x86_64-unknown-linux-gnu"
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
]
[features]
bindgen = [
"versiongen",
"dep:bindgen",
"dep:regex-lite",
"dep:syn",
"dep:proc-macro2",
"dep:prettyplease",
"dep:indoc",
"dep:quote",
"dep:csv",
"dep:serde",
]
constant_lookup = [
"versiongen",
"dep:cc",
"dep:bindgen",
]
default = [
"link",
"mqc_9_3_0_0",
]
dlopen2 = [
"dep:dlopen2",
"dep:libc",
]
docsrs = [
"link_api",
"pcf",
"exits",
"mqai",
"dlopen2",
"mqc_latest",
"dep:document-features",
]
exits = []
link = [
"link_mqm",
"link_api",
]
link_api = []
link_mqm = []
mock = ["dep:mockall"]
mqai = []
mqc_9_2_0_0 = []
mqc_9_3_0_0 = ["mqc_9_2_0_0"]
mqc_9_3_1_0 = ["mqc_9_3_0_0"]
mqc_9_3_2_0 = ["mqc_9_3_1_0"]
mqc_9_3_3_0 = ["mqc_9_3_2_0"]
mqc_9_3_4_0 = ["mqc_9_3_3_0"]
mqc_9_3_5_0 = ["mqc_9_3_4_0"]
mqc_9_4_0_0 = ["mqc_9_3_5_0"]
mqc_9_4_1_0 = ["mqc_9_4_0_0"]
mqc_9_4_2_0 = ["mqc_9_4_1_0"]
mqc_9_4_3_0 = ["mqc_9_4_2_0"]
mqc_9_4_4_0 = ["mqc_9_4_3_0"]
mqc_9_4_5_0 = ["mqc_9_4_4_0"]
mqc_latest = ["mqc_9_4_5_0"]
pcf = []
pregen = [
"pcf",
"exits",
"mqai",
"bindgen",
"mqc_latest",
]
struct_defaults = [
"bindgen",
"dep:cc",
]
versiongen = ["dep:regex-lite"]
[lib]
name = "libmqm_sys"
path = "src/lib.rs"
[dependencies.dlopen2]
version = "0.8.0"
optional = true
[dependencies.document-features]
version = "0.2.10"
optional = true
[dependencies.libc]
version = "0.2.155"
optional = true
[dependencies.mockall]
version = "0.14.0"
optional = true
[build-dependencies.bindgen]
version = "0.72.0"
optional = true
[build-dependencies.cc]
version = "1.1.18"
optional = true
[build-dependencies.csv]
version = "1.3.1"
optional = true
[build-dependencies.indoc]
version = "2"
optional = true
[build-dependencies.prettyplease]
version = "0.2"
optional = true
[build-dependencies.proc-macro2]
version = "1.0"
optional = true
[build-dependencies.quote]
version = "1"
optional = true
[build-dependencies.regex-lite]
version = "0.1.6"
optional = true
[build-dependencies.serde]
version = "1.0.60"
optional = true
[build-dependencies.syn]
version = "2.0.101"
features = [
"parsing",
"visit",
]
optional = true
[lints.clippy]
similar_names = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage,coverage_nightly)"]