Skip to content

Commit

Permalink
Updated tokio-util version
Browse files Browse the repository at this point in the history
  • Loading branch information
baxterjo committed Dec 5, 2024
1 parent b85e911 commit a42d844
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 14 deletions.
5 changes: 2 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 30 additions & 11 deletions rumqttd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,36 @@ license.workspace = true
authors.workspace = true

[dependencies]
tokio = { version = "1.33", features = ["rt", "time", "net", "io-util", "macros"]}
tokio = { version = "1.33", features = [
"rt",
"time",
"net",
"io-util",
"macros",
] }
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
bytes = { version = "1", features = ["serde"] }
flume = { version = "0.11.0", default-features = false, features = ["async"]}
flume = { version = "0.11.0", default-features = false, features = ["async"] }
slab = "0.4.9"
thiserror = "1.0.49"
tokio-util = { version = "0.7", features = ["codec"], optional = true }
tokio-util = { version = "0.7.13", features = ["codec"] }
tokio-rustls = { version = "0.24", optional = true }
rustls-webpki = { version = "0.101.6", optional = true }
tokio-native-tls = { version = "0.3", optional = true }
rustls-pemfile = { version = "1", optional = true }
async-tungstenite = { version = "0.23", default-features = false, features = ["tokio-runtime"], optional = true }
ws_stream_tungstenite = { version= "0.11", default-features = false, features = ["tokio_io"], optional = true }
x509-parser = {version= "0.15.1", optional = true}
futures-util = { version = "0.3.28", optional = true}
async-tungstenite = { version = "0.23", default-features = false, features = [
"tokio-runtime",
], optional = true }
ws_stream_tungstenite = { version = "0.11", default-features = false, features = [
"tokio_io",
], optional = true }
x509-parser = { version = "0.15.1", optional = true }
futures-util = { version = "0.3.28", optional = true }
parking_lot = "0.12.1"
config = "0.13"
tracing = { version="0.1", features=["log"] }
tracing-subscriber = { version="0.3.17", features=["env-filter"] }
tracing = { version = "0.1", features = ["log"] }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
metrics = "0.21.1"
metrics-exporter-prometheus = "0.12.1"
clap = { version = "4.4", features = ["derive"] }
Expand All @@ -40,9 +50,18 @@ rand = "0.8.5"

[features]
default = ["use-rustls", "websocket"]
use-rustls = ["dep:tokio-rustls", "dep:rustls-webpki", "dep:rustls-pemfile", "dep:x509-parser"]
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"]
websocket = [
"dep:async-tungstenite",
"dep:futures-util",
"dep:ws_stream_tungstenite",
]
verify-client-cert = []
validate-tenant-prefix = ["verify-client-cert"]
allow-duplicate-clientid = []
Expand Down

0 comments on commit a42d844

Please sign in to comment.