# 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" name = "mqtt-channel-client" version = "0.6.0" description = "MQTT client that communicates over Tokio channels" homepage = "https://github.com/DanNixon/mqtt-channel-client-rs" readme = "README.md" license = "MIT" repository = "https://github.com/DanNixon/mqtt-channel-client-rs" [[example]] name = "demo" [[example]] name = "metrics" required-features = ["metrics"] [[example]] name = "client_config" required-features = ["metrics"] [dependencies.derive_builder] version = "0.12" [dependencies.log] version = "0.4" [dependencies.paho-mqtt] version = "0.12" [dependencies.prometheus-client] version = "0.20.0" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.24" features = [ "rt-multi-thread", "sync", "time", ] [dev-dependencies.env_logger] version = "0.10" [dev-dependencies.tokio] version = "1.24" features = [ "macros", "signal", ] [features] metrics = ["dep:prometheus-client"] vendored-ssl = ["paho-mqtt/vendored-ssl"]