Cargo Features

[dependencies]
mqtt-v5 = { version = "0.1.1", default-features = false, features = ["codec", "websocket"] }
default = codec, websocket

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

codec default websocket = tokio-util

Affects mqtt-v5::codec

websocket default = base64, codec, sha1, websocket-codec

Affects mqtt-v5::websocket

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tokio-util codec

Enables tokio-util ^0.3

websocket-codec websocket

Enables websocket-codec ^0.3

sha1 websocket

Enables sha1 ^0.6.0

base64 websocket

Enables base64 ^0.11.0