Cargo Features

[dependencies]
meshpulse = { version = "0.2.1", 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 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.

paho-mqtt mqtt
serde mqtt
serde_json mqtt
uuid mqtt