Cargo Features
[dependencies]
meshpulse = { version = "0.2.1", default-features = false, features = ["mqtt", "grpc", "amqp"] }
- default = mqtt
-
The
mqtt
feature is set by default whenevermeshpulse
is added without
somewhere in the dependency tree.default-features = false - mqtt default = paho-mqtt, serde, serde_json, uuid
-
Enables meshpulse_derive
Affects
clients::mqtt
,client::MQTTClient
,meshpulse::prelude
… - grpc
- amqp
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.