# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.81" name = "mqi" version = "0.1.0" authors = ["Warren Spits "] build = "build/mod.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Idiomatic IBM® MQ Interface (MQI) and MQ Administration Interface (MQAI) APIs" readme = "README.md" keywords = [ "message-queue", "messaging", ] categories = ["asynchronous"] license = "Apache-2.0" repository = "https://github.com/advantic-au/mqi" [package.metadata.docs.rs] features = ["docsrs"] no-default-features = true [lib] name = "mqi" crate-type = ["lib"] path = "src/lib.rs" [[example]] name = "open_put" path = "examples/open_put.rs" [[example]] name = "readme" path = "examples/readme.rs" [[example]] name = "subscribe_managed" path = "examples/subscribe_managed.rs" [[test]] name = "admin" path = "tests/admin.rs" [[test]] name = "cb" path = "tests/cb.rs" [[test]] name = "message" path = "tests/message.rs" [[test]] name = "mqi" path = "tests/mqi.rs" [[test]] name = "object" path = "tests/object.rs" [[test]] name = "queue_manager" path = "tests/queue_manager.rs" [[test]] name = "subscribe" path = "tests/subscribe.rs" [[bench]] name = "all" path = "benches/all.rs" [dependencies.derive_more] version = "1.0.0" features = [ "deref", "deref_mut", "as_ref", "from", "error", "display", "constructor", "add", "add_assign", ] [dependencies.dlopen2] version = "0.7.0" [dependencies.libmqm-sys] version = "0.4.0" default-features = false [dependencies.page_size] version = "0.6.0" [dependencies.phf] version = "0.11.2" default-features = false [dependencies.regex-lite] version = "0.1.6" [dependencies.tracing] version = "0.1.40" optional = true [dev-dependencies.clap] version = "4.5.16" features = ["derive"] [dev-dependencies.ctrlc] version = "3.4" [dev-dependencies.tracing-subscriber] version = "0.3" [build-dependencies.libmqm-sys] version = "0.4.0" default-features = false [build-dependencies.phf] version = "0.11" default-features = false [build-dependencies.phf_codegen] version = "0.11.2" [features] bindgen = ["libmqm-sys/bindgen"] constantgen = ["libmqm-sys/mqi_helpers"] default = [ "link", "constantgen", "libmqm-sys/mqi_helpers", "bindgen", ] dlopen2 = ["libmqm-sys/dlopen2"] docsrs = [ "libmqm-sys/docsrs", "pcf", "mqai", "link", "dlopen2", ] link = ["libmqm-sys/link"] mqai = ["libmqm-sys/mqai"] pcf = ["libmqm-sys/pcf"] tracing = ["dep:tracing"] [lints.clippy] allow_attributes = "warn" missing_errors_doc = "allow" missing_panics_doc = "allow" module_name_repetitions = "allow" similar_names = "allow" unwrap_used = "warn" [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"