rmqtt-macros
✨ rmqtt-macros provides a collection of procedural macros to enhance the RMQTT ecosystem, including support for metrics collection and plugin systems. All macros are gated by feature flags for modular usage.
🔧 Features
metrics
– Enables the#[derive(Metrics)]
macro for auto-generating metric collectorsplugin
– Enables the#[derive(Plugin)]
macro for building dynamic plugin systems
📦 Example
📚 Crate Usage
To use a specific macro, enable the corresponding feature in your Cargo.toml
:
[]
= { = "0.1", = ["metrics", "plugin"] }
🚀 Designed for RMQTT
This crate is intended for internal use within the RMQTT project but can be reused in other systems requiring similar functionality.