[package] name = "mqtt-service" version = "0.5.0" edition = "2021" license = "MIT" description = "This crates provide a convenient support for the MQTT Response-Pattern. It uses the rumqttc library to connect to the MQTT broker." repository = "https://gitlab.com/cyloncore/mqtt-service" readme = "README.MD" keywords = ["mqtt", "iot", "service", "response-pattern", "rpc"] categories = ["network-programming"] [features] default = [] json = ["dep:serde_json", "dep:serde"] [dependencies] async-broadcast = "0.7" bytes = "1.6" futures = "0.3" log = "0.4" mqtt-channel = { version = "0.2", git = "https://gitlab.com/cyloncore/mqtt-channel", branch = "dev/1" } rumqttc = "0.24" thiserror = "1" uuid = { version = "1", features = ["v4"] } serde = { version = "1", features = ["serde_derive"], optional = true } serde_json = { version = "1", optional = true } # [patch."https://gitlab.com/cyloncore/mqtt-channel"] # mqtt-channel = { path = "../mqtt-channel" } [dev-dependencies] serde = { version = "1", features = ["serde_derive"] } serde_json = { version = "1" } tokio = { version = "1", features = ["rt-multi-thread"] }