Cargo Features
[dependencies]
fundamentum-sdk-mqtt = { version = "0.9.0", default-features = false, features = ["use-native-tls", "use-rustls"] }
- default = use-native-tls
-
We currently default to using native-tls as rustls is a bit crippled in the service certificate formats it supports but also because it won't allow a user to register a self signed certificate in his local ca-bundle.
- use-native-tls default
-
Enables use-native-tls of rumqttc
- use-rustls
-
Enables use-rustls of rumqttc