[package] name = "mqtt-channel" version = "0.2.0" edition = "2021" license = "MIT" description = "This crates provide a high-level API MQTT subscriptions, based on channels." repository = "https://gitlab.com/cyloncore/mqtt-channel" readme = "README.MD" keywords = ["mqtt", "iot", "service", "channel", "rpc"] categories = ["network-programming"] [features] default = [] json = ["dep:serde_json", "dep:serde"] cbor = ["dep:ciborium", "dep:serde"] statistics = [] debug = ["statistics"] [dependencies] async-broadcast = "0.7" bytes = "1" ciborium = { version = "0.2", optional = true } futures = "0.3" log = "0.4.22" rumqttc = "0.24" serde = { version = "1", features = ["serde_derive"], optional = true } serde_json = { version = "1", optional = true } thiserror = "1" [dev-dependencies] serde = { version = "1", features = ["serde_derive"] } serde_json = { version = "1" }