Cargo Features

[dependencies]
meshpulse = { version = "0.2.0", default-features = false, features = ["mqtt", "grpc", "amqp"] }
default = mqtt

The mqtt feature is set by default whenever meshpulse is added without default-features = false somewhere in the dependency tree.

mqtt default = paho-mqtt, serde, serde_json, uuid

Enables meshpulse_derive

Affects mqtt::MqttSubscription, mqtt::MQTTClient, rpc::RpcRequestHandler, 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.

paho-mqtt mqtt
serde mqtt
serde_json mqtt
uuid mqtt