Cargo Features

[dependencies]
mosquitto-rs = { version = "0.11.2", default-features = false, features = ["vendored-mosquitto", "vendored-mosquitto-tls", "vendored-openssl", "router"] }
default = router, vendored-mosquitto, vendored-mosquitto-tls

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

vendored-mosquitto default

Enables vendored-mosquitto of libmosquitto-sys

vendored-mosquitto-tls default

Enables openssl-sys of libmosquitto-sys

vendored-openssl

Enables vendored-openssl of libmosquitto-sys

router default

Enables anyhow, matchit ^0.7.3, serde, and serde_json

Affects mosquitto-rs::router