Cargo Features

[dependencies]
rumqttd = { version = "0.19.0", default-features = false, features = ["use-rustls", "use-native-tls", "websocket", "verify-client-cert", "validate-tenant-prefix", "allow-duplicate-clientid"] }
default = use-rustls, websocket

These default features are set whenever rumqttd is added without default-features = false somewhere in the dependency tree.

use-rustls default

Enables rustls-pemfile ^1, rustls-webpki ^0.101.6, tokio-rustls ^0.24, and x509-parser ^0.15.1

Affects bridge::tls_connect

use-native-tls

Enables tokio-native-tls and x509-parser ^0.15.1

websocket default

Enables async-tungstenite ^0.23, futures-util, tokio-util, and ws_stream_tungstenite ^0.11

verify-client-cert validate-tenant-prefix?
validate-tenant-prefix = verify-client-cert
allow-duplicate-clientid