forked from bytebeamio/rumqtt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
50 lines (47 loc) · 1.99 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "rumqttd"
version = "0.15.0"
license = "Apache-2.0"
description = "rumqttd is a high performance MQTT broker written in Rust which is light weight and embeddable"
authors = ["tekjar <[email protected]>"]
edition = "2021"
keywords = ["mqtt", "broker", "iot", "kafka", "nats"]
categories = ["network-programming"]
repository = "https://github.com/bytebeamio/rumqtt/"
[dependencies]
tokio = { version = "1.0", features = ["rt", "time", "net", "io-util", "macros"]}
serde = { version = "1.0.125", features = ["derive"] }
serde_json = "1.0.66"
bytes = { version = "1", features = ["serde"] }
flume = "0.10.9"
slab = "0.4.3"
thiserror = "1.0.24"
tokio-util = { version = "0.7", features = ["codec"], optional = true }
tokio-rustls = { version = "0.24", optional = true }
rustls-webpki = { version = "0.100.1", optional = true }
tokio-native-tls = { version = "0.3", optional = true }
rustls-pemfile = { version = "1", optional = true }
async-tungstenite = { version = "0.22.2", default-features = false, features = ["tokio-runtime"], optional = true }
ws_stream_tungstenite = { version = "0.10.0", default-features = false, features = ["tokio_io"], optional = true }
x509-parser = {version= "0.9.2", optional = true}
futures-util = { version = "0.3.16", optional = true}
parking_lot = "0.11.2"
config = "0.13"
tracing = { version="0.1", features=["log"] }
tracing-subscriber = { version="0.3.16", features=["env-filter"] }
metrics = "0.20.1"
metrics-exporter-prometheus = "0.11.0"
clap = { version = "4.2", features = ["derive"] }
axum = "0.6.4"
[features]
default = ["use-rustls"]
use-rustls = ["dep:tokio-rustls", "dep:rustls-webpki", "dep:rustls-pemfile", "dep:x509-parser"]
use-native-tls = ["dep:tokio-native-tls", "dep:x509-parser"]
websocket = ["dep:async-tungstenite", "dep:tokio-util", "dep:futures-util", "dep:ws_stream_tungstenite"]
websockets = ["websocket"]
validate-tenant-prefix = []
allow-duplicate-clientid = []
[dev-dependencies]
pretty_env_logger = "0.4.0"
config = "0.13"
pretty_assertions = "1.3.0"