forked from fluffysquirrels/mqtt-async-client-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
35 lines (32 loc) · 1.11 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[package]
name = "mqtt-async-client"
version = "0.3.0"
authors = ["Alex Helfet <[email protected]>"]
edition = "2018"
license = "MIT"
readme = "README.md"
description = "An MQTT 3.1.1 client written in Rust, using async functions and tokio."
repository = "https://github.com/fluffysquirrels/mqtt-async-client-rs"
[dependencies]
bytes = "0.5" # Compatibility with mqttrs
futures-core = "0.3.1"
futures-util = "0.3.1"
log = "0.4.8"
maplit = "1.0.2"
mqttrs = "0.3"
url = "2.2.2"
rustls = { version = "0.20", optional = true }
rustls-native-certs = { version = "0.6", optional = true }
http = { version = "0.2.4", optional = true }
tokio = { version = "1.15.0", features = ["io-util", "macros", "net", "rt", "rt-multi-thread", "sync", "time"] }
tokio-rustls = { version = "0.23", optional = true }
tokio-tungstenite = { version = "0.16", optional = true, features = ["rustls-tls-native-roots"] }
[dev-dependencies]
env_logger = "0.9"
structopt = "0.3.5"
rustls-pemfile = "0.2"
[features]
default = ["tls"]
tls = ["rustls", "rustls-native-certs", "tokio-rustls"]
websocket = ["tokio-tungstenite", "http", "tls"]
unsafe-logging = []