Skip to main content

hc_homie5/
lib.rs

1// ── base modules (WASM-safe) ─────────────────────────
2pub mod model;
3pub mod store;
4pub mod query;
5pub mod value;
6pub mod connection;
7pub mod util;
8
9// ── alerts: engine is base, publisher is framework ────
10pub mod alerts;
11
12// ── framework modules ────────────────────────────────
13#[cfg(feature = "framework")]
14pub mod client;
15#[cfg(feature = "framework")]
16pub mod device;
17#[cfg(feature = "framework")]
18pub mod controller;
19#[cfg(feature = "framework")]
20pub mod settings;
21
22// ── tokio modules ────────────────────────────────────
23#[cfg(feature = "tokio")]
24mod event_multiplexer;
25
26// ── macro re-exports ─────────────────────────────────
27#[cfg(feature = "macros")]
28pub use hc_homie5_macros::homie_device;
29#[cfg(feature = "macros")]
30pub use hc_homie5_macros::homie_device_enum;
31
32// paste re-export (used by event_multiplexer macro)
33pub use paste;