-
Notifications
You must be signed in to change notification settings - Fork 17
/
Cargo.toml
34 lines (31 loc) · 1014 Bytes
/
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
[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.4.0"
futures-core = "0.3.1"
futures-util = "0.3.1"
log = "0.4.8"
maplit = "1.0.2"
mqttrs = "0.2.0"
url = "2.2.2"
rustls = { version = "0.19.0", optional = true }
http = { version = "0.2.4", optional = true }
tokio = { version = "1.2.0", features = ["io-util", "macros", "net", "rt", "rt-multi-thread", "sync", "time"] }
tokio-rustls = { version = "0.22.0", optional = true }
tokio-tungstenite = { version = "0.15", optional = true, features = ["rustls-tls"] }
[dev-dependencies]
env_logger = "0.7.1"
structopt = "0.3.5"
webpki-roots = "0.18.0"
[features]
default = ["tls"]
tls = ["rustls", "tokio-rustls"]
websocket = ["tokio-tungstenite", "http"]
unsafe-logging = []