Cargo Features
[dependencies]
mqtt-v5-fork = { version = "0.2.0", default-features = false, features = ["codec", "websocket"] }
- default = codec, websocket
-
These default features are set whenever
mqtt-v5-fork
is added without
somewhere in the dependency tree.default-features = false - codec default websocket = tokio-util
-
Affects
mqtt-v5-fork::codec
… - websocket default = base64, codec, sha1, websocket-codec
-
Affects
mqtt-v5-fork::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
- websocket-codec websocket
- sha1 websocket
-
Enables sha1 ^0.6.1
- base64 websocket
-
Enables base64 ^0.21.0