Cargo Features

Gneiss-mqtt has no features set by default.

[dependencies]
gneiss-mqtt = { version = "0.3.0", features = ["testing", "tokio-rustls", "tokio-native-tls", "tokio-websockets", "tokio", "futures"] }
testing

enables environmentally-controlled integration tests and long-running tests (30+ seconds) that check reconnect, backoff, etc...

tokio-rustls = tokio

Enables rustls, rustls-native-certs, rustls-pemfile, rustls-pki-types, and tokio-rustls

Affects features::rustls

tokio-native-tls = tokio

Enables native-tls and tokio-native-tls

Affects features::native_tls

tokio-websockets = tokio

Enables http ^0.2, stream-ws, tokio-tungstenite ^0.20, and tungstenite ^0.20

Affects config::WebsocketHandshakeTransformReturnType, config::WebsocketHandshakeTransform, config::WebsocketOptions, config::WebsocketOptionsBuilder

tokio tokio-native-tls? tokio-rustls? tokio-websockets?

Enables tokio

Affects features::tokio

Features from optional dependencies

futures implicit feature