# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.70.0" name = "rumqttd" version = "0.19.0" authors = ["tekjar "] publish = true description = "rumqttd is a high performance MQTT broker written in Rust which is light weight and embeddable" readme = "README.md" keywords = [ "mqtt", "broker", "iot", "kafka", "nats", ] categories = ["network-programming"] license = "Apache-2.0" repository = "https://github.com/bytebeamio/rumqtt" [dependencies.async-tungstenite] version = "0.23" features = ["tokio-runtime"] optional = true default-features = false [dependencies.axum] version = "0.6.20" [dependencies.bytes] version = "1" features = ["serde"] [dependencies.clap] version = "4.4" features = ["derive"] [dependencies.config] version = "0.13" [dependencies.flume] version = "0.11.0" features = ["async"] default-features = false [dependencies.futures-util] version = "0.3.28" optional = true [dependencies.metrics] version = "0.21.1" [dependencies.metrics-exporter-prometheus] version = "0.12.1" [dependencies.parking_lot] version = "0.12.1" [dependencies.rand] version = "0.8.5" [dependencies.rustls-pemfile] version = "1" optional = true [dependencies.rustls-webpki] version = "0.101.6" optional = true [dependencies.serde] version = "1.0.188" features = ["derive"] [dependencies.serde_json] version = "1.0.107" [dependencies.slab] version = "0.4.9" [dependencies.thiserror] version = "1.0.49" [dependencies.tokio] version = "1.33" features = [ "rt", "time", "net", "io-util", "macros", ] [dependencies.tokio-native-tls] version = "0.3" optional = true [dependencies.tokio-rustls] version = "0.24" optional = true [dependencies.tokio-util] version = "0.7" features = ["codec"] optional = true [dependencies.tracing] version = "0.1" features = ["log"] [dependencies.tracing-subscriber] version = "0.3.17" features = ["env-filter"] [dependencies.ws_stream_tungstenite] version = "0.11" features = ["tokio_io"] optional = true default-features = false [dependencies.x509-parser] version = "0.15.1" optional = true [dev-dependencies.config] version = "0.13" [dev-dependencies.pretty_assertions] version = "1.4.0" [dev-dependencies.pretty_env_logger] version = "0.5.0" [features] allow-duplicate-clientid = [] default = [ "use-rustls", "websocket", ] use-native-tls = [ "dep:tokio-native-tls", "dep:x509-parser", ] use-rustls = [ "dep:tokio-rustls", "dep:rustls-webpki", "dep:rustls-pemfile", "dep:x509-parser", ] validate-tenant-prefix = ["verify-client-cert"] verify-client-cert = [] websocket = [ "dep:async-tungstenite", "dep:tokio-util", "dep:futures-util", "dep:ws_stream_tungstenite", ]