-
Notifications
You must be signed in to change notification settings - Fork 38
/
Cargo.toml
36 lines (31 loc) · 920 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
35
36
[package]
authors = ["Y. T. Chung <[email protected]>"]
name = "mqtt-protocol"
version = "0.12.0"
license = "MIT/Apache-2.0"
description = "MQTT Protocol Library"
keywords = ["mqtt", "protocol"]
repository = "https://github.com/zonyitoo/mqtt-rs"
documentation = "https://docs.rs/mqtt-protocol"
edition = "2018"
[dependencies]
byteorder = "1.3"
log = "0.4"
tokio = { version = "1", optional = true }
tokio-util = { version = "0.6", features = ["codec"], optional = true }
bytes = { version = "1.0", optional = true }
thiserror = "1.0"
[dev-dependencies]
clap = "2"
env_logger = "0.8"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "net", "time", "io-util"] }
futures = { version = "0.3" }
uuid = { version = "0.8", features = ["v4"] }
[features]
tokio-codec = ["tokio", "tokio-util", "bytes"]
default = []
[lib]
name = "mqtt"
[[example]]
name = "sub-client-async"
required-features = ["tokio"]