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 bb9a826 commit 6886397
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 17 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.

49 changes: 35 additions & 14 deletions rumqttd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,40 @@ license.workspace = true
authors.workspace = true

[dependencies]
tokio = { version = "1.36", features = ["rt", "time", "net", "io-util", "macros"]}
serde = { version = "1.0.196", features = ["derive"] }
serde_json = "1.0.113"
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.57"
tokio-util = { version = "0.7", features = ["codec"], optional = true }
tokio-util = { version = "0.7.13", features = ["codec"] }
tokio-rustls = { version = "0.25.0", optional = true }
rustls-webpki = { version = "0.102.2", optional = true }
tokio-native-tls = { version = "0.3.1", optional = true }
rustls-pemfile = { version = "2.1.0", optional = true }
async-tungstenite = { version = "0.25", default-features = false, features = ["tokio-runtime"], optional = true }
ws_stream_tungstenite = { version= "0.13", default-features = false, features = ["tokio_io"], optional = true }
x509-parser = {version= "0.15.1", optional = true}
futures-util = { version = "0.3.30", optional = true}
async-tungstenite = { version = "0.25", default-features = false, features = [
"tokio-runtime",
], optional = true }
ws_stream_tungstenite = { version = "0.13", default-features = false, features = [
"tokio_io",
], optional = true }
x509-parser = { version = "0.15.1", optional = true }
futures-util = { version = "0.3.30", optional = true }
parking_lot = "0.12.1"
config = "0.14"
tracing = { version="0.1", features=["log"] }
tracing-subscriber = { version="0.3.18", features=["env-filter"] }
tracing = { version = "0.1", features = ["log"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
metrics = "0.22.1"
metrics-exporter-prometheus = { version = "0.13.1", default-features = false, features = ["http-listener"] }
metrics-exporter-prometheus = { version = "0.13.1", default-features = false, features = [
"http-listener",
] }
clap = { version = "4.4", features = ["derive"] }
axum = "0.7.4"
rand = "0.8.5"
Expand All @@ -42,9 +54,18 @@ subtle = "2.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 6886397

Please sign in to comment.