[package] name = "gmqtt-client" version = "0.2.0" authors = ["biuro@genesismobo.com"] edition = "2021" rust-version = "1.56" license = "MIT/Apache-2.0" keywords = ["mqtt", "mqtt5","client"] description = "Simple MQTTv5 client" repository = "https://gitlab.com/genesismobo/gmqtt-client" [dependencies] anyhow = "1" log = "0.4" parking_lot = "0.11" bytes = "1" tokio = { version = "1", features = ["time", "net", "macros", "parking_lot" ] } mqttbytes = "0.6" tokio-util = { version = "0.6", features = ["codec"] } futures-util = { version = "0.3", default-features = false, features = ["std", "sink", "async-await", "async-await-macro"] } url = "2" rand = "0.8" serde = { version = "1", features = ["derive"], optional = true } serde_json = { version = "1", optional = true } [features] default = ["json"] json = ["serde", "serde_json"] [dev-dependencies] env_logger = "0.9" serde_json = "1" tokio = { version = "1", features = ["rt-multi-thread", "time", "net", "macros"] }