# 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 = "spotflow-rumqttc-fork" version = "0.12.0" authors = ["tekjar"] description = "A temporary fork of rumqtt that allows getting packet ID from sent messages" readme = "README.md" keywords = [ "mqtt", "iot", "coap", "http", ] categories = ["network-programming"] license = "Apache-2.0" repository = "https://github.com/spotflow-io/rumqtt" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.async-channel] version = "1.5" [dependencies.async-tungstenite] version = "0.16.1" features = ["tokio-rustls-native-certs"] optional = true default-features = false [dependencies.bytes] version = "1.0" [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-pemfile] version = "0.3.0" optional = true [dependencies.thiserror] version = "1.0.21" [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.2" optional = true [dependencies.url] version = "2.2" optional = true default-features = false [dependencies.ws_stream_tungstenite] version = "0.7.0" features = ["tokio_io"] optional = true default-features = false [dev-dependencies.color-backtrace] version = "0.4" [dev-dependencies.crossbeam-channel] version = "0.5" [dev-dependencies.envy] version = "0.4" [dev-dependencies.jsonwebtoken] version = "7" [dev-dependencies.matches] version = "0.1.8" [dev-dependencies.pretty_assertions] version = "0.6.1" [dev-dependencies.pretty_env_logger] version = "0.4" [dev-dependencies.rustls] version = "0.20.2" [dev-dependencies.rustls-native-certs] version = "0.6.1" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.tokio] version = "1.0" features = [ "full", "macros", ] [features] default = ["use-rustls"] use-native-tls = [ "tokio-native-tls", "native-tls", ] use-rustls = [ "tokio-rustls", "rustls-pemfile", ] websocket = [ "async-tungstenite", "ws_stream_tungstenite", "http", ]