diff --git a/Cargo.lock b/Cargo.lock index eb917cd1..40f9c665 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2551,16 +2551,15 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.10" +version = "0.7.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" +checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078" dependencies = [ "bytes", "futures-core", "futures-sink", "pin-project-lite", "tokio", - "tracing", ] [[package]] diff --git a/rumqttd/Cargo.toml b/rumqttd/Cargo.toml index 8d1fd604..2dfba7e5 100644 --- a/rumqttd/Cargo.toml +++ b/rumqttd/Cargo.toml @@ -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" @@ -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 = []