[package] name = "fundamentum-sdk-mqtt" description = "MQTT client targeting Fundamentum IoT's MQTT broker" version = "0.10.1" edition = "2021" authors = [ "Walter Bonetti ", "Jonathan Chouinard ", ] readme = "README.md" license = "Apache-2.0" keywords = ["api", "iot", "sdk", "mqtt", "fundamentum"] categories = ["asynchronous"] homepage = "https://www.dimonoff.com/services/fundamentum-iot-platform-paas" repository = "https://bitbucket.org/amotus/fundamentum-sdk-mqtt" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] async-trait = "0.1" backon = "1.3.0" bytes = "1.5.0" chrono = "0.4" derive_builder = "0.12.0" displaydoc = "0.2.5" fundamentum-iot-mqtt-proto = "0.2.0" jsonwebtoken = { version = "8.1" } prost = "0.12.3" rsa = { version = "0.9", features = ["default"] } rumqttc = { version = "0.24", default-features = false } serde = "1" serde_json = "1.0" thiserror = "1" tokio = { version = "1.14.0", features = [ "rt-multi-thread", "sync", "macros", "net", "time", "fs", ] } tracing = "0.1" [dev-dependencies] cargo-husky = { version = "1.5.0", default-features = false, features = ["precommit-hook", "run-cargo-fmt"] } clap = { version = "3.2.23", features = ["derive"] } sysinfo = "0.16.5" tracing-subscriber = "0.3" [features] # We currently default to using native-tls as rustls is a bit crippled in the # service certificate formats it supports but also because it won't allow a user # to register a self signed certificate in his local ca-bundle. default = ["use-native-tls"] use-native-tls = ["rumqttc/use-native-tls"] use-rustls = ["rumqttc/use-rustls"] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]