# 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 = "2018" name = "ac-rumqttc" version = "0.21.0-alpha.2" authors = ["anchen"] description = "An efficient and robust mqtt client for your connected devices" readme = "README.md" keywords = [ "mqtt", "iot", "coap", "http", ] categories = ["network-programming"] license = "Apache-2.0" repository = "https://github.com/voididea/rumqtt" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.async-tungstenite] version = "0.16" features = ["tokio-rustls-native-certs"] optional = true default-features = false [dependencies.bytes] version = "1.0" [dependencies.flume] version = "0.10" [dependencies.futures] version = "0.3" [dependencies.http] version = "0.2" optional = true [dependencies.log] version = "0.4" [dependencies.native-tls] version = "0.2.8" optional = true [dependencies.pollster] version = "0.2" [dependencies.rustls] version = "0.21.0-alpha.1" [dependencies.rustls-native-certs] version = "0.6" optional = true [dependencies.rustls-pemfile] version = "1" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.0" features = [ "rt", "macros", "io-util", "net", "time", ] [dependencies.tokio-native-tls] version = "0.3.0" optional = true [dependencies.tokio-rustls] version = "0.23" optional = true [dependencies.url] version = "2" optional = true default-features = false [dependencies.ws_stream_tungstenite] version = "0.7" features = ["tokio_io"] optional = true default-features = false [dev-dependencies.color-backtrace] version = "0.4" [dev-dependencies.matches] version = "0.1" [dev-dependencies.pretty_assertions] version = "1" [dev-dependencies.pretty_env_logger] version = "0.4" [dev-dependencies.rustls] version = "0.21.0-alpha.1" [dev-dependencies.rustls-native-certs] version = "0.6" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.tokio] version = "1" features = [ "full", "macros", ] [features] default = ["use-rustls"] use-native-tls = [ "dep:tokio-native-tls", "dep:native-tls", ] use-rustls = [ "dep:tokio-rustls", "dep:rustls-pemfile", "dep:rustls-native-certs", ] websocket = [ "dep:async-tungstenite", "dep:ws_stream_tungstenite", "dep:http", ]